drm/helper: lock all around force mode restore
authorDave Airlie <airlied@redhat.com>
Fri, 21 Mar 2014 00:45:40 +0000 (10:45 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 21 Mar 2014 22:05:32 +0000 (08:05 +1000)
commit3ea8785503a05a92601ffa209ef7d560d271fa33
tree697ae6a57143ddfbab5d823a6ebb34022bf14a45
parent53f1904bced78d7c00f5d874c662ec3ac85d0f9f
drm/helper: lock all around force mode restore

Since Daniel documented things with a sledge hammer, we got lots of
nice backtraces in suspend/resume operations, I've check the callers
of this and they all seems safe to me,

This fixes one set of warns I reported.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c