diff options
author | 2023-12-01 06:25:25 -0700 | |
---|---|---|
committer | 2023-12-06 15:22:34 -0500 | |
commit | 7db7ade270ae8e177cc8bd09753745e7c2dc92e7 (patch) | |
tree | 582c03fcd8350bf352af9ead1381ee726447efb2 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | drm/amd/display: Initialize writeback connector (diff) | |
download | linux-rng-7db7ade270ae8e177cc8bd09753745e7c2dc92e7.tar.xz linux-rng-7db7ade270ae8e177cc8bd09753745e7c2dc92e7.zip |
drm/amd/display: Skip writeback connector when we get amdgpu_dm_connector
[WHY]
Writeback connectors are based on a different object:
drm_writeback_connector, and are therefore different from
amdgpu_dm_connector. We need to be careful to ensure code
designed for amdgpu_dm_connector doesn't inadvertently try
to operate on a drm_writeback_connector.
[HOW]
Skip them when connector type is DRM_MODE_CONNECTOR_WRITEBACK.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions