]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Kill crtc->plane checks from the primary plane update hooks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 31 Mar 2014 18:29:41 +0000 (21:29 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 20:58:25 +0000 (22:58 +0200)
commitae3eb3080a442313e3cb339ba96180d85a306d97
tree670b652bc91dad4633671581e317d7878a6b0648
parentb18fca14e01fa9aaac533dc245a5679485f14bf8
drm/i915: Kill crtc->plane checks from the primary plane update hooks

These were apparently meant to protect the SAREA which only has
room for two pipes, but things clearly went a bit wonky when
first the .update_plane() hooks were split up and then pipe C
got introduced.

The checks actually protecting the SAREA live in
intel_crtc_update_sarea() these days, so the checks in the primary
plane update hooks are just historical leftovers which are to be
eliminated.

Signed-off-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