]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Warn if the FBC is still writing to stolen on removal
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 3 May 2020 18:00:34 +0000 (19:00 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 May 2020 16:11:51 +0000 (17:11 +0100)
commitd54e91d3aa14452a94a0828c023ceb52f864859c
treec880f4faf1fb8f02caf407c6c6d8deae21a4f943
parentbbc80d232a7b9df8425e218bf40fbb88d9f2817e
drm/i915/display: Warn if the FBC is still writing to stolen on removal

If the FBC is still writing into stolen, it will overwrite any future
users of that stolen region. Check before release, just to ease any
concerns -- we can remove it again later if it is barking up the wrong
tree.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/1635
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200503180034.20010-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/display/intel_fbc.c