-
- Downloads
drm/i915: reference counted forcewake
Provide a reference count to track the forcewake state of the GPU and give a safe mechanism for userspace to wake the GT. This also potentially saves a UC read if the GT is known to be awake already. The reference count is atomic, but the register access and hardware wake sequence is protected by struct_mutex. Signed-off-by:Ben Widawsky <ben@bwidawsk.net> Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
Showing
- drivers/gpu/drm/i915/i915_debugfs.c 2 additions, 2 deletionsdrivers/gpu/drm/i915/i915_debugfs.c
- drivers/gpu/drm/i915/i915_drv.c 28 additions, 2 deletionsdrivers/gpu/drm/i915/i915_drv.c
- drivers/gpu/drm/i915/i915_drv.h 7 additions, 4 deletionsdrivers/gpu/drm/i915/i915_drv.h
- drivers/gpu/drm/i915/i915_irq.c 0 additions, 1 deletiondrivers/gpu/drm/i915/i915_irq.c
- drivers/gpu/drm/i915/intel_display.c 4 additions, 4 deletionsdrivers/gpu/drm/i915/intel_display.c
Loading
Please register or sign in to comment