linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc
Nicholas Kazlauskas f1029e7ead 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 <nicholas.kazlauskas@amd.com>
Reviewed-by: Wyatt Wood <Wyatt.Wood@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-04-22 18:11:47 -04:00
..
basics drm/amd/dc: Kill dc_conn_log_hex_linux() 2020-04-01 14:44:59 -04:00
bios AMD DISPLAY CORE: Use fallthrough; 2020-03-13 11:52:34 -04:00
calcs drm/amdgpu/display: Fix Pollock Variant Detection 2020-03-09 13:51:03 -04:00
clk_mgr drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
core drm/amd/display: Avoid NULL pointer in set_backlight when ABM is NULL 2020-04-22 18:11:47 -04:00
dce drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dce80 drm/amd/display: code clean up in dce80_hw_sequencer.c 2020-04-13 12:02:28 -04:00
dce100 drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce110 drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dce112 drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce120 drm/amd/display: make PSR static screen entry within 30 ms 2020-01-16 14:16:08 -05:00
dcn10 drm/amd/display: add optc get crc support for timings with ODM/DSC 2020-04-22 18:11:47 -04:00
dcn20 drm/amd/display: add optc get crc support for timings with ODM/DSC 2020-04-22 18:11:47 -04:00
dcn21 drm/amd/display: Correct updating logic of dcn21's pipe VM flags 2020-04-22 18:11:46 -04:00
dml drm/amd/display: Cast int to float before division 2020-04-22 18:11:47 -04:00
dsc drm/amd/display: Add debug option to disable DSC support 2020-01-22 16:55:27 -05:00
gpio drm/amdgpu/display: extend DCN guards 2020-02-12 16:04:39 -05:00
hdcp drm/amd/display: query hdcp capability during link detect 2020-04-09 10:43:17 -04:00
inc drm/amd/display: add optc get crc support for timings with ODM/DSC 2020-04-22 18:11:47 -04:00
irq drm/amd/display: rename core_dc to dc 2019-12-05 16:26:39 -05:00
virtual drm/amd/display: determine USB C DP2 mode only when USB DP Alt is enabled 2020-04-09 10:43:17 -04:00
dc_bios_types.h drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dc_ddc_types.h drm/amd/display: Proper return of result when aux engine acquire fails 2019-10-25 16:50:09 -04:00
dc_dmub_srv.c drm/amd/display: Spin for DMCUB PHY init in DC 2019-11-19 10:12:53 -05:00
dc_dmub_srv.h drm/amd/display: Add DMUB support to DC 2019-11-13 15:29:42 -05:00
dc_dp_types.h drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dc_dsc.h drm/amd/display: Add debug option to override DSC target bpp increment 2019-12-18 16:09:11 -05:00
dc_helper.c drm/amd/display: Indirect reg read macro with shift and mask 2020-01-16 14:13:53 -05:00
dc_hw_types.h drm/amd/display: Make cursor source translation adjustment optional 2020-04-09 10:43:17 -04:00
dc_link.h drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dc_stream.h drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dc_types.h drm/amd/display: Add 'disable FEC for specific monitor' infrastructure to DC 2020-03-05 00:30:52 -05:00
dc.h drm/amd/display: Workaround to disable YCbCr 2020-04-22 18:11:47 -04:00
dm_cp_psp.h drm/amd/display: determine is mst hdcp based on stream instead of sink signal 2020-03-09 13:49:06 -04:00
dm_event_log.h
dm_helpers.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dm_pp_smu.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
dm_services.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
irq_types.h
Makefile drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
os_types.h amdgpu: Enable initial DCN support on POWER 2019-12-18 16:09:05 -05:00