diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-03-07 11:32:09 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-04-09 08:42:03 -0400 |
commit | 2a44b76bb5a1f520371432825c91fa46c63bde84 (patch) | |
tree | 75fa476cca0faf03cd4264c4ff77fc3b2bcd5639 /drivers/gpu/drm/i915/intel_drv.h | |
parent | 17d36749a559905f7d9a640239a9fc74fc3bb445 (diff) |
drm/i915: Add some more tracked state to intel_pipe_wm
intel_pipe_wm will be used to track the state in different stages
of the watermark update process. For that we need to keep a bit
more state in intel_pipe_wm.
We also need to separate the multi-pipe intel_wm_config computation
from ilk_compute_wm_parameters() as that one deals with the future
state, and we need the intel_wm_config to match the current hardware
state at the time we do the watermark merging for multiple pipes.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
[danvet: Frob conflict.]
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 42762b798cb0..6b512607b2f5 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -342,6 +342,9 @@ struct intel_pipe_wm { | |||
342 | struct intel_wm_level wm[5]; | 342 | struct intel_wm_level wm[5]; |
343 | uint32_t linetime; | 343 | uint32_t linetime; |
344 | bool fbc_wm_enabled; | 344 | bool fbc_wm_enabled; |
345 | bool pipe_enabled; | ||
346 | bool sprites_enabled; | ||
347 | bool sprites_scaled; | ||
345 | }; | 348 | }; |
346 | 349 | ||
347 | struct intel_crtc { | 350 | struct intel_crtc { |