Skip to content

Commit 310d512

Browse files
committed
Enable Wa to disable object capture for DG1
This Wa is needed for using DG1 with the upstream i915 kernel. Partially fixes: #1415 (comment) The other part needs to be fixed on KMD side by disabling HCP_POWERGATE and MFXVDENC_POWERGATE for DG1. Unlike TGLx, DG1 doesn't support sub-pipe PG and setting these bits will cause HEVC and VP9 decoding failure. See also https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13381 Signed-off-by: nyanmisaka <nst799610810@gmail.com>
1 parent d274c5e commit 310d512

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

media_driver/linux/gen12/ddi/media_sku_wa_g12.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,9 @@ static bool InitDG1MediaWa(struct GfxDeviceInfo *devInfo,
442442

443443
/* Enable VPP copy */
444444
MEDIA_WR_WA(waTable, WaEnableVPPCopy, 1);
445+
446+
MEDIA_WR_WA(waTable, WaDisableSetObjectCapture, 1);
447+
445448
return true;
446449
}
447450

0 commit comments

Comments
 (0)