linux/drivers/gpu/drm/amd/display
Nicholas Kazlauskas 06dd1888ee drm/amd/display: Add NULL checks for vblank workqueue
[Why]
If we're running a headless config with 0 links then the vblank
workqueue will be NULL - causing a NULL pointer exception during
any commit.

[How]
Guard access to the workqueue if it's NULL and don't queue or flush
work if it is.

Reported-by: Mike Lothian <mike@fireburn.co.uk>
BugLink: https://gitlab.freedesktop.org/drm/amd/-/issues/1700
Fixes: 58aa1c50e5 ("drm/amd/display: Use vblank control events for PSR enable/disable")
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-09-14 15:36:14 -04:00
..
amdgpu_dm drm/amd/display: Add NULL checks for vblank workqueue 2021-09-14 15:36:14 -04:00
dc drm/amd/display: make configure_lttpr_mode_transparent and configure_lttpr_mode_non_transparent static 2021-09-07 13:30:50 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.80 2021-09-01 16:55:10 -04:00
include drm/amd/display: Add DP 2.0 SST DC Support 2021-09-01 16:55:10 -04:00
modules drm/amd: consolidate TA shared memory structures 2021-08-18 18:22:53 -04:00
Kconfig drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
Makefile
TODO