-
- Downloads
drm/i915/oa: Reconfigure contexts on the fly
Avoid a global idle barrier by reconfiguring each context by rewriting them with MI_STORE_DWORD from the kernel context. v2: We only need to determine the desired register values once, they are the same for all contexts. v3: Don't remove the kernel context from the list of known GEM contexts; the world is not ready for that yet. Signed-off-by:Chris Wilson <chris@chris-wilson.co.uk> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190716213443.9874-1-chris@chris-wilson.co.uk
Showing
- drivers/gpu/drm/i915/gem/i915_gem_context.c 4 additions, 19 deletionsdrivers/gpu/drm/i915/gem/i915_gem_context.c
- drivers/gpu/drm/i915/gt/intel_context.c 25 additions, 0 deletionsdrivers/gpu/drm/i915/gt/intel_context.c
- drivers/gpu/drm/i915/gt/intel_context.h 3 additions, 0 deletionsdrivers/gpu/drm/i915/gt/intel_context.h
- drivers/gpu/drm/i915/gt/intel_lrc.c 4 additions, 3 deletionsdrivers/gpu/drm/i915/gt/intel_lrc.c
- drivers/gpu/drm/i915/i915_perf.c 185 additions, 58 deletionsdrivers/gpu/drm/i915/i915_perf.c
Loading
Please register or sign in to comment