aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2021-09-07 09:53:03 -0400
committerAlex Deucher <[email protected]>2021-09-16 09:56:23 -0400
commitb3a7b268c147119a9776185b4f37e1555ead9d68 (patch)
tree5b4070577b1eb0ef8e87fb422d25b149b466209a /net/lapb/lapb_out.c
parentb04ce53eac2fc326290817a6f64a440b5bffd2e3 (diff)
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 <[email protected]> BugLink: https://gitlab.freedesktop.org/drm/amd/-/issues/1700 Fixes: 58aa1c50e5a231 ("drm/amd/display: Use vblank control events for PSR enable/disable") Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions