summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-06-01 10:04:46 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-06-01 14:17:41 +0100
commit04f7b24eccdfae680a36e9825fe0d61dcd5ed528 (patch)
tree96be659842a494a7f2b72626ee653b1e0a3646ba /tools/perf
parent3d06bf421a9b376bb658b1531de8826f1bf811ff (diff)
drm/i915/guc: Assert that we switch between known ggtt->invalidate functions
When we enable the GuC, we enable an alternative mechanism for doing post-GGTT update invalidation. Likewise, when we disable the GuC, we restore the previous method. Assert that we change between known endpoints, so that we can catch if we accidentally clobber some other gen and if we change the invalidate routine without updating guc. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Oscar Mateo <oscar.mateo@intel.com> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Cc: Michel Thierry <michel.thierry@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170601090446.1334-1-chris@chris-wilson.co.uk Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions