drm/i915/selftest: Extend ctx_timestamp ICL workaround to GEN11
EHL and JSL are also observing requirement for 80ns interval for CTX_TIMESTAMP thus extending it to GEN11. Changes since V1: - IS_GEN replaced by GRAPHICS_VER - Tvrtko Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210624112250.895410-1-tejaskumarx.surendrakumar.upadhyay@intel.com
This commit is contained in:
committed by
Tvrtko Ursulin
parent
d3f3baa356
commit
53fe9cf2da
@@ -173,8 +173,8 @@ static int __live_engine_timestamps(struct intel_engine_cs *engine)
|
||||
d_ctx = trifilter(s_ctx);
|
||||
|
||||
d_ctx *= engine->gt->clock_frequency;
|
||||
if (IS_ICELAKE(engine->i915))
|
||||
d_ring *= 12500000; /* Fixed 80ns for icl ctx timestamp? */
|
||||
if (GRAPHICS_VER(engine->i915) == 11)
|
||||
d_ring *= 12500000; /* Fixed 80ns for GEN11 ctx timestamp? */
|
||||
else
|
||||
d_ring *= engine->gt->clock_frequency;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user