diff options
author | Jeff Layton <[email protected]> | 2023-04-19 07:24:46 -0400 |
---|---|---|
committer | Lyude Paul <[email protected]> | 2023-06-20 16:00:09 -0400 |
commit | 54d217406afe250d7a768783baaa79a035f21d38 (patch) | |
tree | 9a4fb5cd9275ed9ac99133b687a3e6fa5bb055c4 /drivers/gpu/drm/panel/panel-simple.c | |
parent | 8d0d16a3ef44c60d66f937c21f32fa2cf8f2c9ed (diff) |
drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2
I've been experiencing some intermittent crashes down in the display
driver code. The symptoms are ususally a line like this in dmesg:
amdgpu 0000:30:00.0: [drm] Failed to create MST payload for port 000000006d3a3885: -5
...followed by an Oops due to a NULL pointer dereference.
Switch to using mgr->dev instead of state->dev since "state" can be
NULL in some cases.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2184855
Suggested-by: Jani Nikula <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Lyude Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/panel/panel-simple.c')
0 files changed, 0 insertions, 0 deletions