]> Git Repo - linux.git/commit
drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2
authorJeff Layton <[email protected]>
Wed, 19 Apr 2023 11:24:46 +0000 (07:24 -0400)
committerLyude Paul <[email protected]>
Tue, 20 Jun 2023 20:00:09 +0000 (16:00 -0400)
commit54d217406afe250d7a768783baaa79a035f21d38
tree9a4fb5cd9275ed9ac99133b687a3e6fa5bb055c4
parent8d0d16a3ef44c60d66f937c21f32fa2cf8f2c9ed
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]
drivers/gpu/drm/display/drm_dp_mst_topology.c
This page took 0.061514 seconds and 4 git commands to generate.