aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2020-04-02 19:59:44 +0000
committerAlex Deucher <[email protected]>2020-04-22 22:11:47 +0000
commitf1029e7ead9a5f13ef040dfbe1473b975f927b41 (patch)
tree89ea13263d3f1e6709194dc55c38cb4673b41ccb /drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h
parentdrm/amd/display: fix stream setting for diags on silicon (diff)
downloadkernel-f1029e7ead9a5f13ef040dfbe1473b975f927b41.tar.gz
kernel-f1029e7ead9a5f13ef040dfbe1473b975f927b41.zip
drm/amd/display: Avoid NULL pointer in set_backlight when ABM is NULL
[Why] On ASIC without ABM support (most dGPU) we run into a null pointer dereference when attempting to set the backlight level. [How] This function requires ABM, so fix up the condition to only allow DMCU to be optional. Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Wyatt Wood <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h')
0 files changed, 0 insertions, 0 deletions