summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_sprite_uapi.c
diff options
context:
space:
mode:
authorVidya Srinivas <vidya.srinivas@intel.com>2024-05-20 22:26:34 +0530
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-05-22 15:31:08 +0300
commit51064d471c53dcc8eddd2333c3f1c1d9131ba36c (patch)
tree563f0227b7b4d0f89b7a560a186b37b92c7da1b1 /drivers/gpu/drm/i915/display/intel_sprite_uapi.c
parent2689390b4ecc27d6f0a97f24544d75bd168a21b8 (diff)
downloadlinux-51064d471c53dcc8eddd2333c3f1c1d9131ba36c.tar.gz
linux-51064d471c53dcc8eddd2333c3f1c1d9131ba36c.tar.bz2
linux-51064d471c53dcc8eddd2333c3f1c1d9131ba36c.zip
drm/i915/dpt: Make DPT object unshrinkable
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: Shawn Lee <shawn.c.lee@intel.com> Fixes: 0dc987b699ce ("drm/i915/display: Add smem fallback allocation for dpt") Signed-off-by: Vidya Srinivas <vidya.srinivas@intel.com> [vsyrjala: Add TODO comment] Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240520165634.1162470-1-vidya.srinivas@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_sprite_uapi.c')
0 files changed, 0 insertions, 0 deletions