diff options
author | Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> | 2022-12-12 23:09:02 +0100 |
---|---|---|
committer | John Harrison <John.C.Harrison@Intel.com> | 2022-12-17 09:54:52 +0100 |
commit | d0fa30be3178724117bee95be4d7c576b246dd7f (patch) | |
tree | 2c84df4a96d4a541c296cb26e0c78d34df88e0f4 /drivers/gpu/drm/i915/i915_perf.c | |
parent | drm/i915/mtl: Update OA mux whitelist for MTL (diff) | |
download | linux-d0fa30be3178724117bee95be4d7c576b246dd7f.tar.xz linux-d0fa30be3178724117bee95be4d7c576b246dd7f.zip |
drm/i915/mtl: Add OA support by enabling 32 bit OAG formats for MTL
Without an entry in oa_init_supported_formats, OA will not be functional
in MTL. Enable OA support by enabling 32 bit OAG formats for MTL.
Mesa MR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20228
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221212220902.1819159-5-umesh.nerlige.ramappa@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_perf.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_perf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c index b0ada4aca660..6fb47e79294f 100644 --- a/drivers/gpu/drm/i915/i915_perf.c +++ b/drivers/gpu/drm/i915/i915_perf.c @@ -4775,6 +4775,7 @@ static void oa_init_supported_formats(struct i915_perf *perf) break; case INTEL_DG2: + case INTEL_METEORLAKE: oa_format_add(perf, I915_OAR_FORMAT_A32u40_A4u32_B8_C8); oa_format_add(perf, I915_OA_FORMAT_A24u40_A14u32_B8_C8); break; |