Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: Check ATOM_DEVICE_CRT2_SUPPORT in dc_load_detection

[WHY & HOW]
Fix the typo of the else-if condition from ATOM_DEVICE_CRT1_SUPPORT to
ATOM_DEVICE_CRT2_SUPPORT.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Ivan Lipski and committed by
Alex Deucher
83d16119 f7352d10

+1 -1
+1 -1
drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
··· 805 805 806 806 if (bp_params.device_id == ATOM_DEVICE_CRT1_SUPPORT) 807 807 device_id_mask = ATOM_S0_CRT1_MASK; 808 - else if (bp_params.device_id == ATOM_DEVICE_CRT1_SUPPORT) 808 + else if (bp_params.device_id == ATOM_DEVICE_CRT2_SUPPORT) 809 809 device_id_mask = ATOM_S0_CRT2_MASK; 810 810 else 811 811 return BP_RESULT_UNSUPPORTED;