summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_lock.c
diff options
context:
space:
mode:
authorIlija Hadzic <ilijahadzic@gmail.com>2012-10-29 17:35:01 (GMT)
committerDave Airlie <airlied@redhat.com>2012-11-07 00:51:15 (GMT)
commitfdb40a08ef7bc970899c3a1f471165f9c22763a1 (patch)
tree70426eb405d29964713c9954cb116027152f8a8a /drivers/gpu/drm/drm_lock.c
parent0f1cb1bd94a9c967cd4ad3de51cfdabe61eb5dcc (diff)
downloadlinux-fdb40a08ef7bc970899c3a1f471165f9c22763a1.tar.xz
drm: set dev_mapping before calling drm_open_helper
Some drivers (specifically vmwgfx) look at dev_mapping in their open hook, so we have to set dev->dev_mapping earlier in the process. Reference: http://lists.freedesktop.org/archives/dri-devel/2012-October/029420.html Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com> Reported-by: Thomas Hellstrom <thellstrom@vmware.com> Cc: stable@vger.kernel.org Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_lock.c')
0 files changed, 0 insertions, 0 deletions