diff options
| author | Ville Syrjälä <[email protected]> | 2023-03-20 11:05:17 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2023-03-24 17:14:34 +0200 |
| commit | 779cb5ba64ec7df80675a956c9022929514f517a (patch) | |
| tree | 5d70b40cda6b4c510c9587f5f34d3999d91077ce /tools/perf/scripts/python/stackcollapse.py | |
| parent | 883631771038d1b0c10c0929e31bbd5ffb5e682c (diff) | |
drm/i915/dpt: Treat the DPT BO as a framebuffer
Currently i915_gem_object_is_framebuffer() doesn't treat the
BO containing the framebuffer's DPT as a framebuffer itself.
This means eg. that the shrinker can evict the DPT BO while
leaving the actual FB BO bound, when the DPT is allocated
from regular shmem.
That causes an immediate oops during hibernate as we
try to rewrite the PTEs inside the already evicted
DPT obj.
TODO: presumably this might also be the reason for the
DPT related display faults under heavy memory pressure,
but I'm still not sure how that would happen as the object
should be pinned by intel_dpt_pin() while in active use by
the display engine...
Cc: [email protected]
Cc: Juha-Pekka Heikkila <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: Imre Deak <[email protected]>
Fixes: 0dc987b699ce ("drm/i915/display: Add smem fallback allocation for dpt")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions