mirror-linux/drivers/gpu/drm/amd/display
Josip Pavic 81b9aeb7b9 drm/amd/display: dereference variable before checking for zero
[Why]
Driver incorrectly checks if pointer variable OutBpp is null instead of
if the value being pointed to is zero.

[How]
Dereference OutBpp before checking for a value of zero.

Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Josip Pavic <josip.pavic@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-12-19 15:23:52 -05:00
..
amdgpu_dm drm/amd/display: fix hw rotated modes when PSR-SU is enabled 2023-12-11 12:41:05 -05:00
dc drm/amd/display: dereference variable before checking for zero 2023-12-19 15:23:52 -05:00
dmub drm/amd/display: Include udelay when waiting for INBOX0 ACK 2023-11-29 17:50:27 -05:00
include drm/amd/display: get dprefclk ss info from integration info table 2023-12-19 15:22:59 -05:00
modules drm/amd/display: Disable PSR-SU on Parade 0803 TCON again 2023-12-12 12:01:44 -05:00
Kconfig
Makefile drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
TODO