OSDN Git Service

drm/amd/display: Allow planes on all crtcs
authorHarry Wentland <harry.wentland@amd.com>
Mon, 10 Apr 2017 19:37:32 +0000 (15:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:22:44 +0000 (17:22 -0400)
commit7df498fa4c241610ee22cfcfa648628d2ef908fd
tree41cb765eacae8e85bed067a316a36afd6535eb21
parent6f43fd6297c478995b6a9e61482272137ec36260
drm/amd/display: Allow planes on all crtcs

4.9 kernel will always add the assigned crtc to possible_crtcs on a
plane. This is no longer the case on newer kernels. Make sure we allow
any plane on any crtc.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c