]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/bmg: implement Wa_16023588340
authorMatthew Auld <matthew.auld@intel.com>
Wed, 3 Jul 2024 12:43:38 +0000 (13:43 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 5 Jul 2024 08:53:12 +0000 (09:53 +0100)
commit01570b446939c3538b1aa3d059837f49fa14a3ae
treeb054e1761166c40370ba8a456549648cdc4f351e
parent3078d9c8b6a0939bc732fd1c36ef86c0178127dd
drm/xe/bmg: implement Wa_16023588340

This involves enabling l2 caching of host side memory access to VRAM
through the CPU BAR. The main fallout here is with display since VRAM
writes from CPU can now be cached in GPU l2, and display is never
coherent with caches, so needs various manual flushing.  In the case of
fbc we disable it due to complications in getting this to work
correctly (in a later patch).

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240703124338.208220-3-matthew.auld@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/display/xe_dsb_buffer.c
drivers/gpu/drm/xe/display/xe_fb_pin.c
drivers/gpu/drm/xe/regs/xe_gt_regs.h
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_device.h
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_pat.c
drivers/gpu/drm/xe/xe_wa_oob.rules