]> git.baikalelectronics.ru Git - kernel.git/commit
drm/crtc: only store the necessary data for set_config rollback
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 2 Jun 2016 17:27:52 +0000 (19:27 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Jun 2016 00:47:54 +0000 (10:47 +1000)
commit835b0a565e86ca45a8b2f3ea6f0ba656729cd95a
tree7776d0ded35bbfe9b2d4ed30835337e23554f406
parent3218a1dfdeab7a0c070a96c5e26b0376fa900c22
drm/crtc: only store the necessary data for set_config rollback

drm_crtc_helper_set_config only potentially touches connector->encoder
and encoder->crtc, so we only have to store those for all connectors
and encoders, respectively.

Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c