Hello,
kernel test robot noticed
"BUG:KASAN:slab-use-after-free_in_intel_wait_for_vblank_workers" on:
commit: cfd54d37e5cd9511b5a4a98bba6d4b2f596149cf ("[Intel-gfx] [PATCH 2/2]
drm/i915: Handle legacy cursor update as normal update")
url:
https://github.com/intel-l
From: Maarten Lankhorst
Abuse the vblank worker to make the changes as small as possible. We
need a way to sync flip_done, but if we wait on flip_done, all async
tests start failing.
Changes since v1:
- Prevent null deref when crtc is inactive.
Signed-off-by: Maarten Lankhorst
---
drivers/gpu
Abuse the vblank worker to make the changes as small as possible. We
need a way to sync flip_done, but if we wait on flip_done, all async
tests start failing.
Signed-off-by: Maarten Lankhorst
---
drivers/gpu/drm/i915/display/intel_crtc.c| 21 ++--
drivers/gpu/drm/i915/display
Move hw_done to cleanup, to ensure we only unpin cursor fb after we
received a flip event. This disables the legacy_cursor_update immediate
completion of flip_done events, and waits for flip_done before cleaning
up.
Signed-off-by: Maarten Lankhorst
---
drivers/gpu/drm/i915/display/intel_display.
/drm-tip drm-tip
patch link:
https://lore.kernel.org/r/20230621114827.167713-2-maarten.lankhorst%40linux.intel.com
patch subject: [Intel-gfx] [PATCH 2/2] drm/i915: Handle legacy cursor update as
normal update
config: x86_64-rhel-8.3-rust
(https://download.01.org/0day-ci/archive/20230622
/drm-tip drm-tip
patch link:
https://lore.kernel.org/r/20230621114827.167713-2-maarten.lankhorst%40linux.intel.com
patch subject: [Intel-gfx] [PATCH 2/2] drm/i915: Handle legacy cursor update as
normal update
config: x86_64-defconfig
(https://download.01.org/0day-ci/archive/20230622
Signed-off-by: Maarten Lankhorst
---
drivers/gpu/drm/i915/display/intel_display.c | 15 ++-
.../gpu/drm/i915/display/intel_display_types.h| 2 +-
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c
b/drivers/gpu/drm/i