aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_prime.c
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-09-26 19:15:20 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-09-27 02:45:11 -0400
commit3bc2913e2cb74aac8af90b46fa251dfb8d854665 (patch)
tree888e254ccaf8390dbbd554b30c685c420098913f /drivers/gpu/drm/drm_prime.c
parent0c96c65b48fba3ffe9822a554cbc0cd610765cd5 (diff)
drm/i915: Fix set_caching locking
On the EINVAL case we don't release struct_mutex. It should be safe to grab the lock after checking the parameters, which also resolves the issues. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_prime.c')
0 files changed, 0 insertions, 0 deletions