]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration
authorHersen Wu <hersenxs.wu@amd.com>
Fri, 26 Apr 2024 20:39:37 +0000 (16:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2024 20:18:18 +0000 (16:18 -0400)
commita54f7e866cc73a4cb71b8b24bb568ba35c8969df
tree3d8ea9f49e18a4f9e9bf21ab73d18aa43985524e
parent8e2734bf444767fed787305ccdcb36a2be5301a2
drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration

[Why]
Coverity reports Memory - illegal accesses.

[How]
Skip inactive planes.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c