diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2019-03-29 21:58:32 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-04-15 08:22:03 +0300 |
commit | c14a005c1621c3b995ac9df8bf93bb4de8a3e446 (patch) | |
tree | 9471a1acbbf165da004b91accfd084f152e13b65 /drivers/gpu/drm/amd/display/dc/dce100 | |
parent | 004b3938e6374f39d43cc32bd4953f2fe8b8905b (diff) | |
download | linux-c14a005c1621c3b995ac9df8bf93bb4de8a3e446.tar.xz |
drm/amd/display: Relax requirements for CRTCs to be enabled
[Why]
As long as we have at least one non-cursor plane enabled on a CRTC then
the CRTC itself can remain enabled.
This will allow for commits where there's an overlay plane enabled but
no primary plane enabled.
[How]
Remove existing primary plane fb != NULL checks and replace them with
the new does_crtc_have_active_plane helper.
This will be called from atomic check when validating the CRTC.
Since the primary plane state can now potentially be NULL we'll need
to guard for that when accessing it in some of the cursor logic.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: David Francis <David.Francis@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce100')
0 files changed, 0 insertions, 0 deletions