diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-07-08 15:53:09 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-09-11 17:04:27 +0300 |
commit | cfcbfdd8fe140af699b538a42cf0dd4933885fe5 (patch) | |
tree | 6ab77bc107ae5f7c32800740c5ce8670150875f4 /drivers/gpu/drm/i915/display/intel_atomic.c | |
parent | drm/i915: Use a high priority wq for nonblocking plane updates (diff) | |
download | linux-dev-cfcbfdd8fe140af699b538a42cf0dd4933885fe5.tar.xz linux-dev-cfcbfdd8fe140af699b538a42cf0dd4933885fe5.zip |
drm/i915: Remove pointless planes_changed=true assignment
i915 doesn't use the crtc_state->plane_changed flag for anything,
so setting it is pointless.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190708125325.16576-4-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_atomic.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_atomic.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_atomic.c b/drivers/gpu/drm/i915/display/intel_atomic.c index d3fb75bb9eb1..698802da07b7 100644 --- a/drivers/gpu/drm/i915/display/intel_atomic.c +++ b/drivers/gpu/drm/i915/display/intel_atomic.c @@ -378,13 +378,6 @@ int intel_atomic_setup_scalers(struct drm_i915_private *dev_priv, plane->base.id); return PTR_ERR(state); } - - /* - * the plane is added after plane checks are run, - * but since this plane is unchanged just do the - * minimum required validation. - */ - crtc_state->base.planes_changed = true; } intel_plane = to_intel_plane(plane); |