]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add a FIXME about crtc !active vs. watermarks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 29 Apr 2016 14:31:18 +0000 (17:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 May 2016 16:14:57 +0000 (19:14 +0300)
commitbcb400612bb5094d3b928afc32662bfa05781249
treef152bc7a36f338aef7ac40ebd37281fe3500315b
parent1412a403258c16f735a7c907ff39f10821376bf0
drm/i915: Add a FIXME about crtc !active vs. watermarks

When the crtc is enabled but !active, we should still compute the
watermarks as if the planes were visible. That would make it more
likely that the we can later transition to active without errors.

Add a FIXME to remind people that we're doing the wrong thing now.
We should perhaps just move the wm computation for each individual plane
into the .check_plane hook, and later we'd just combine the results from
all active planes.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461940278-17122-2-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c