drm: check that planes types are correct while initializing CRTC
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Tue, 17 Mar 2015 11:05:29 +0000 (12:05 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Mar 2015 13:03:04 +0000 (14:03 +0100)
commit522cf91f30cb0102fd5cb6e8979d45b6151cdcfc
tree733281edb07603f4a89ed30deb3ec037b30faf47
parent0388df05088def7ce5f3dd1b2293f05739be2a23
drm: check that planes types are correct while initializing CRTC

Be warned if primary or cursor planes haven't the correct type

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c