Skip to content
Commit 7a9883be authored by Vidya Srinivas's avatar Vidya Srinivas Committed by Greg Kroah-Hartman
Browse files

drm/i915/dpt: Make DPT object unshrinkable

commit 43e2b37e

 upstream.

In some scenarios, the DPT object gets shrunk but
the actual framebuffer did not and thus its still
there on the DPT's vm->bound_list. Then it tries to
rewrite the PTEs via a stale CPU mapping. This causes panic.

Cc: stable@vger.kernel.org
Reported-by: default avatarShawn Lee <shawn.c.lee@intel.com>
Fixes: 0dc987b6

 ("drm/i915/display: Add smem fallback allocation for dpt")
Signed-off-by: default avatarVidya Srinivas <vidya.srinivas@intel.com>
[vsyrjala: Add TODO comment]
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240520165634.1162470-1-vidya.srinivas@intel.com
(cherry picked from commit 51064d471c53dcc8eddd2333c3f1c1d9131ba36c)
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1b4a8b89
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment