drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info
authorjsg <jsg@openbsd.org>
Tue, 13 Jun 2023 02:52:19 +0000 (02:52 +0000)
committerjsg <jsg@openbsd.org>
Tue, 13 Jun 2023 02:52:19 +0000 (02:52 +0000)
From Radhakrishna Sripada
4b08cdd239e7d15f11d2be07e59c3af478f61b11 in linux-6.1.y/6.1.29
6ece90e3665a9b7fb2637fcca26cebd42991580b in mainline linux

sys/dev/pci/drm/i915/i915_pci.c

index f3bfaff..6dedad5 100644 (file)
@@ -1133,6 +1133,8 @@ static const struct intel_gt_definition xelpmp_extra_gt[] = {
 static const struct intel_device_info mtl_info = {
        XE_HP_FEATURES,
        XE_LPDP_FEATURES,
+       .__runtime.cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) |
+                              BIT(TRANSCODER_C) | BIT(TRANSCODER_D),
        /*
         * Real graphics IP version will be obtained from hardware GMD_ID
         * register.  Value provided here is just for sanity checking.