aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
diff options
context:
space:
mode:
authorJoshua Aberback <joshua.aberback@amd.com>2024-11-22 19:46:10 -0500
committerAlex Deucher <alexander.deucher@amd.com>2024-12-10 10:31:24 -0500
commit5f02fc3ecb7d565df7db027a39fc7b39cb3deea8 (patch)
tree003742b149fd9763c05d51da9589addf8a04d202 /drivers/gpu/drm/amd/display/modules/power/power_helpers.c
parentdrm/amd/display: expose DCN401 HUBP functions (diff)
downloadlinux-rng-5f02fc3ecb7d565df7db027a39fc7b39cb3deea8.tar.xz
linux-rng-5f02fc3ecb7d565df7db027a39fc7b39cb3deea8.zip
drm/amd/display: Refactor dcn31_panel_construct to avoid assert
[Why] We want to avoid unnecessary asserts, one of which is hit in dcn31_panel_construct when booting on a DCN32 asic that has an eDP connector on a different DIG than A or B. The DIG-based mapping only applies when edp0_on_dp1 is supported, therefore the check for valid eng_id can be moved within the appropriate section of the if statement. Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Joshua Aberback <joshua.aberback@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions