summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-03-27 00:44:57 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-03-28 01:09:29 +0100
commit965e0c489f360df1beeb567e4540777a09b8896e (patch)
tree89710f6280e7b83c7434ddf74634602f2c86be4f /drivers/gpu/drm/i915/intel_drv.h
parent50f3b016b055dbc83094bc2d7a91c3c69edbc88b (diff)
downloadlinux-965e0c489f360df1beeb567e4540777a09b8896e.tar.gz
linux-965e0c489f360df1beeb567e4540777a09b8896e.tar.bz2
linux-965e0c489f360df1beeb567e4540777a09b8896e.zip
drm/i915: introduce pipe_config->dither|pipe_bpp
We want to compute this earlier. To avoid a big complicated patch, this patch here just does the big search&replace and still calls the old functions at the same places. Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> 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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 63160c650cf9..0ca0d7691e35 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -195,6 +195,9 @@ struct intel_crtc_config {
*/
bool limited_color_range;
+ bool dither;
+ int pipe_bpp;
+
/* Used by SDVO (and if we ever fix it, HDMI). */
unsigned pixel_multiplier;
};
@@ -230,7 +233,6 @@ struct intel_crtc {
int16_t cursor_x, cursor_y;
int16_t cursor_width, cursor_height;
bool cursor_visible;
- unsigned int bpp;
struct intel_crtc_config config;