summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-03-02 19:14:55 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-03-03 16:50:10 +0200
commit814e7f0bf7b7d5805a5ef030348c25647103b6a8 (patch)
tree529640ba5df09de15cbb2fb4926cd6d42458524a /drivers/gpu/drm/i915/intel_drv.h
parent855c79f5212acced123c1a6be3c12601f45e8da9 (diff)
downloadop-kernel-dev-814e7f0bf7b7d5805a5ef030348c25647103b6a8.zip
op-kernel-dev-814e7f0bf7b7d5805a5ef030348c25647103b6a8.tar.gz
drm/i915: Plop vlv/chv fifo sizes into crtc state
Move the vlv/chv FIFO size tracking into the crtc_state. As with the wms for now this just acts as temporary storage. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170302171508.1666-6-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 6d3323b..26b0ce0 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -508,6 +508,10 @@ struct vlv_wm_state {
bool cxsr;
};
+struct vlv_fifo_state {
+ u16 plane[I915_MAX_PLANES];
+};
+
struct intel_crtc_wm_state {
union {
struct {
@@ -536,6 +540,8 @@ struct intel_crtc_wm_state {
struct {
/* optimal watermarks (inverted) */
struct vlv_wm_state optimal;
+ /* display FIFO split */
+ struct vlv_fifo_state fifo_state;
} vlv;
};
@@ -721,10 +727,6 @@ struct intel_crtc_state {
u8 active_planes;
};
-struct vlv_fifo_state {
- uint16_t plane[I915_MAX_PLANES];
-};
-
struct intel_crtc {
struct drm_crtc base;
enum pipe pipe;
@@ -775,8 +777,6 @@ struct intel_crtc {
/* allow CxSR on this pipe */
bool cxsr_allowed;
-
- struct vlv_fifo_state fifo_state;
} wm;
int scanline_offset;
OpenPOWER on IntegriCloud