mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/i915/gtt: Recursive ppgtt clear for gen8
With an explicit level, we can refactor the separate clear functions as a simple recursive function. The additional knowledge of the level allows us to spot when we can free an entire subtree at once. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190712112725.2892-3-chris@chris-wilson.co.uk
This commit is contained in:
@@ -94,6 +94,20 @@ config DRM_I915_TRACE_GEM
|
||||
|
||||
If in doubt, say "N".
|
||||
|
||||
config DRM_I915_TRACE_GTT
|
||||
bool "Insert extra ftrace output from the GTT internals"
|
||||
depends on DRM_I915_DEBUG_GEM
|
||||
select TRACING
|
||||
default n
|
||||
help
|
||||
Enable additional and verbose debugging output that will spam
|
||||
ordinary tests, but may be vital for post-mortem debugging when
|
||||
used with /proc/sys/kernel/ftrace_dump_on_oops
|
||||
|
||||
Recommended for driver developers only.
|
||||
|
||||
If in doubt, say "N".
|
||||
|
||||
config DRM_I915_SW_FENCE_DEBUG_OBJECTS
|
||||
bool "Enable additional driver debugging for fence objects"
|
||||
depends on DRM_I915
|
||||
|
||||
Reference in New Issue
Block a user