summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-01-08 14:18:23 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-01-10 17:58:03 +0100
commitba0fbca474939e9b4086796ddcca1510f303a60b (patch)
tree033d392acfb7c25b3245488e43272843d65862ec /drivers/gpu/drm/i915/intel_drv.h
parent5a65f3582e011d0de947420b89c13442a2fda5b8 (diff)
downloadblackbird-op-linux-ba0fbca474939e9b4086796ddcca1510f303a60b.tar.gz
blackbird-op-linux-ba0fbca474939e9b4086796ddcca1510f303a60b.zip
drm/i915: Introduce new intel_output_name()
That we can use for debugging purposes. v2: Use designated initializers for the 'names' array (Paulo Zanoni, Jani Nikula). Add a check in case the array has a hole (which can now remain unnoticed with designated initializers) (Jani Nikula) Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> (for v1) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index e903432c7c37..0299741d975b 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -625,6 +625,7 @@ void intel_ddi_get_config(struct intel_encoder *encoder,
/* intel_display.c */
+const char *intel_output_name(int output);
int intel_pch_rawclk(struct drm_device *dev);
void intel_mark_busy(struct drm_device *dev);
void intel_mark_fb_busy(struct drm_i915_gem_object *obj,
OpenPOWER on IntegriCloud