diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2015-07-13 16:30:20 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-07-14 17:17:22 +0200 |
commit | 4cf0ebbd4fafbdf8e6431dbb315e5511c3efdc3b (patch) | |
tree | b604bc9e33b7daacd8ddd428c1dc49d6e031dd8c /drivers/gpu/drm/i915/intel_atomic.c | |
parent | 3bbaba0ceaa254c9ee261e329bfd92e4ba4fe32a (diff) | |
download | linux-stable-4cf0ebbd4fafbdf8e6431dbb315e5511c3efdc3b.tar.gz linux-stable-4cf0ebbd4fafbdf8e6431dbb315e5511c3efdc3b.tar.bz2 linux-stable-4cf0ebbd4fafbdf8e6431dbb315e5511c3efdc3b.zip |
drm/i915: Rework plane readout.
All non-primary planes get disabled during hw readout,
this reduces complexity and means not having to do some plane
visibility checks during the first commit.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_atomic.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_atomic.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/intel_atomic.c b/drivers/gpu/drm/i915/intel_atomic.c index b92b8581efc2..dcf4fb458649 100644 --- a/drivers/gpu/drm/i915/intel_atomic.c +++ b/drivers/gpu/drm/i915/intel_atomic.c @@ -98,13 +98,6 @@ int intel_atomic_check(struct drm_device *dev, return -EINVAL; } - if (crtc_state && - crtc_state->quirks & PIPE_CONFIG_QUIRK_INITIAL_PLANES) { - ret = drm_atomic_add_affected_planes(state, &nuclear_crtc->base); - if (ret) - return ret; - } - ret = drm_atomic_helper_check_planes(dev, state); if (ret) return ret; |