]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Remove useless checks from primary enable/disable
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 28 Apr 2014 12:53:25 +0000 (15:53 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Apr 2014 08:06:24 +0000 (10:06 +0200)
commite9e39655c0c30cddc3f8c09a757678a24dd36737
tree216d5176928cb7f3608967ca5c978295b4e1c6b5
parentf69072d714e36adcc9a925f2bfa86deca32cbe57
drm/i915: Remove useless checks from primary enable/disable

We won't be calling intel_enable_primary_plane() or
intel_disable_primary_plane() with the primary plane in the
wrong state. So remove the useless DISPLAY_PLANE_ENABLE checks.

v2: Convert the checks to WARNs instead (Daniel,Paulo)

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