linux/drivers/gpu/drm/amd/display
Harshit Mogalapalli 44407010ce drm/amd/display: Fix possible NULL dereference in dc_dmub_srv_cmd_run_list()
We have a NULL check for 'dc_dmub_srv' in dc_dmub_srv_cmd_run_list()
but we are dereferencing it before checking.

Fix this moving the dereference next to NULL check.

This issue is found with Smatch(static analysis tool).

Fixes: e97cc04fe0 ("drm/amd/display: refactor dmub commands into single function")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-06-09 09:25:59 -04:00
..
amdgpu_dm Revert "drm/amd/display: disable SubVP + DRR to prevent underflow" 2023-04-24 18:36:46 -04:00
dc drm/amd/display: Fix possible NULL dereference in dc_dmub_srv_cmd_run_list() 2023-06-09 09:25:59 -04:00
dmub drm/amd/display: Add p-state debugging 2023-04-24 18:36:46 -04:00
include drm/amd/display: allow edp updates for virtual signal 2023-04-18 16:28:51 -04:00
modules drm/amd/display: set variable custom_backlight_curve0 storage-class-specifier to static 2023-06-09 09:23:18 -04:00
Kconfig drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
TODO