drm: ditch strange DRIVER_DMA_QUEUE only error bail-out
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Oct 2011 22:53:57 +0000 (00:53 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Jul 2012 02:50:47 +0000 (22:50 -0400)
commit4c373790a4d4d667d1ab38b1fe2bbf6a8322e93b
tree19d122639cb74a5c2cc49f8e32fbea2d8b242053
parentb0071efe827f68cf173e1a8868b70618e9aca7d7
drm: ditch strange DRIVER_DMA_QUEUE only error bail-out

Only one driver (i810) even sets that flag. Now the actual locking
code uncoditionally promotes lock->context to an unsigned int.

Closer inspection of the userspace reveals that the drm lock context
is defined as an unsigned int (at least on linux). I suspect we just
have a strange case of signedness confusion going on.

Tested on my i815, doesn't seem to break anything.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_lock.c
This page took 0.027746 seconds and 5 git commands to generate.