drm/i915: Enable GuC firmware log
authorAlex Dai <yu.dai@intel.com>
Wed, 12 Aug 2015 14:43:40 +0000 (15:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Aug 2015 16:16:42 +0000 (18:16 +0200)
commit4c7e77fc1007b1e12d25c6e5083369863346f5dd
tree47104dcb5af6ce794e444b268ebad11e9d1ee490
parentbac427f8abfc8c11e10274d5edd9db4e4b8e74d3
drm/i915: Enable GuC firmware log

Allocate a GEM object to hold GuC log data. A debugfs interface
(i915_guc_log_dump) is provided to print out the log content.

v2:
    Add struct members at point of use [Chris Wilson]

v6:
    Rebased

Issue: VIZ-4884
Signed-off-by: Alex Dai <yu.dai@intel.com>
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Tom O'Rourke <Tom.O'Rourke@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_guc_submission.c
drivers/gpu/drm/i915/intel_guc.h