drm/i915/bdw: Display execlists info in debugfs
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 7 Aug 2014 12:23:20 +0000 (13:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Aug 2014 15:17:49 +0000 (17:17 +0200)
commit4ba70e448be91f52032595678c306e4aee2fae5c
tree0884883af3ea42a236268e33a84a4c86cd73f1b7
parent71386ef9008817feebd863e46d8711ebe9e7cbbb
drm/i915/bdw: Display execlists info in debugfs

v2: Warn and return if LRCs are not enabled.

v3: Grab the Execlists spinlock (noticed by Daniel Vetter).

Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
v4: Lock the struct mutex for atomic state capture

Signed-off-by: Thomas Daniel <thomas.daniel@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
[danvet: Checkpatch.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h