summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dcn10
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2019-04-04 11:00:53 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-04-29 14:58:38 -0500
commitbc92c06525e5865c94256ef0227bfe870c095823 (patch)
tree1fec747876be2bf4f0207d729de78625ccd59683 /drivers/gpu/drm/amd/display/dc/dcn10
parentb5e83f6fe1f003f95fcdbde8a3364f776c18d28d (diff)
drm/amd/display: Allow commits with no planes active
[Why] Many userspace applications (and IGT) seem to expect that most drivers can keep a CRTC active and enabled if there are no primary or overlay planes. DC is setup to handle this but only in the case where there are absolutely no planes on the CRTC - no primary, cursor, or overlay. [How] Add a check to reject commits that have cursor planes enabled and nothing else on CRTCs since we can't handle that. The new helper does_crtc_have_active_cursor is used for this. In atomic commit tail, we need to let DC know that there are zero planes enabled when doing stream updates to let it disable and blank pipes as appropriate. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: David Francis <David.Francis@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10')
0 files changed, 0 insertions, 0 deletions