[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:
|
||
|---|---|---|
| .. | ||
| amdgpu_dm | ||
| dc | ||
| dmub | ||
| include | ||
| modules | ||
| Kconfig | ||
| Makefile | ||
| TODO | ||