]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Use connector list for finding DPRX CRC aux
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 20 Aug 2019 14:10:08 +0000 (10:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Aug 2019 03:18:18 +0000 (22:18 -0500)
commit241104973a88507c3492a64f0837a7dca7f5c193
treee29171ca65e0d27e434608de32f973d124e25139
parent05449958778b980806e3a3cd228d36082605b6e6
drm/amd/display: Use connector list for finding DPRX CRC aux

[Why]
This change is a refactor in preparation for adding locking and removing
the requirement for a stream state on the CRTC for enabling CRC capture
to fix igt@kms_plane_multiple@* warnings.

[How]
We can get the aux by finding the matching connector for the CRTC
with the assumption that we're not doing cloning.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: David Francis <David.Francis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c