Commit 07b444f5 authored by Umesh Nerlige Ramappa's avatar Umesh Nerlige Ramappa Committed by John Harrison

drm/i915/perf: Enable OA for DG2

OA was disabled for DG2 as support was missing. Enable it back now.
Signed-off-by: default avatarUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: default avatarAshutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221026222102.5526-17-umesh.nerlige.ramappa@intel.com
parent 0fa9349d
...@@ -4798,12 +4798,6 @@ void i915_perf_init(struct drm_i915_private *i915) ...@@ -4798,12 +4798,6 @@ void i915_perf_init(struct drm_i915_private *i915)
{ {
struct i915_perf *perf = &i915->perf; struct i915_perf *perf = &i915->perf;
/* XXX const struct i915_perf_ops! */
/* i915_perf is not enabled for DG2 yet */
if (IS_DG2(i915))
return;
perf->oa_formats = oa_formats; perf->oa_formats = oa_formats;
if (IS_HASWELL(i915)) { if (IS_HASWELL(i915)) {
perf->ops.is_valid_b_counter_reg = gen7_is_valid_b_counter_addr; perf->ops.is_valid_b_counter_reg = gen7_is_valid_b_counter_addr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment