aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-08-25 17:45:57 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-08 06:29:58 -0400
commit37811fcc9188f748407646e1157f3ed24ae181a4 (patch)
treec413000327d80b226c292cedae542c2f8a5293a3 /drivers/gpu/drm/i915/intel_drv.h
parent70d39fe4862c6c69c2582c829ec240e05bf24430 (diff)
drm/i915: Show framebuffer info in debugfs
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index cdf9c78896cf..b454d1a4271e 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -30,8 +30,8 @@
30#include <linux/i2c-algo-bit.h> 30#include <linux/i2c-algo-bit.h>
31#include "i915_drv.h" 31#include "i915_drv.h"
32#include "drm_crtc.h" 32#include "drm_crtc.h"
33
34#include "drm_crtc_helper.h" 33#include "drm_crtc_helper.h"
34#include "drm_fb_helper.h"
35 35
36#define _wait_for(COND, MS, W) ({ \ 36#define _wait_for(COND, MS, W) ({ \
37 unsigned long timeout__ = jiffies + msecs_to_jiffies(MS); \ 37 unsigned long timeout__ = jiffies + msecs_to_jiffies(MS); \
@@ -129,6 +129,12 @@ struct intel_framebuffer {
129 struct drm_gem_object *obj; 129 struct drm_gem_object *obj;
130}; 130};
131 131
132struct intel_fbdev {
133 struct drm_fb_helper helper;
134 struct intel_framebuffer ifb;
135 struct list_head fbdev_list;
136 struct drm_display_mode *our_mode;
137};
132 138
133struct intel_encoder { 139struct intel_encoder {
134 struct drm_encoder enc; 140 struct drm_encoder enc;