drm: WARN_ON if a modeset driver uses legacy suspend/resume helpers
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 13 Aug 2015 20:06:39 +0000 (17:06 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Sep 2015 11:45:46 +0000 (13:45 +0200)
commitbcfe0c0954f3336c44993e5ce444e09ad6087637
tree2b834461c98b04ff8b9399db26b357f7d1b30005
parent73bf1b7be7aab60d7c651402441dd0b0b4991098
drm: WARN_ON if a modeset driver uses legacy suspend/resume helpers

Legacy s/r hooks are only used for shadow-attaching drivers, warn
when a KMS driver tries to use them.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_drv.c