drm/i915: remove pre-atomic check from SKL update_primary_plane
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 30 Sep 2015 20:05:43 +0000 (17:05 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 9 Oct 2015 07:35:19 +0000 (09:35 +0200)
commita42e5a23ed1939a8eca5a753c19bb8b0e5cee475
tree0c5382a258e0f5a21907fdfb3d9b0bf5cd52ed74
parent3badb49f08f66fbdbf9da8335c5db4b05a1677c8
drm/i915: remove pre-atomic check from SKL update_primary_plane

The comment suggests the check was there for some non-fully-atomic
case, and I couldn't find a case where we wouldn't correctly
initialize plane_state, so remove the check.

Let's leave a WARN there just in case.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c