]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Fix hash key computation
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 31 Oct 2014 08:54:22 +0000 (09:54 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 31 Oct 2014 08:54:22 +0000 (09:54 +0100)
commit7727e30dfdcd6d869f6f5cf81f876e1e74d4e501
tree124fe69a5a76fa863d951745f8255033fb4735d7
parentc89abc8f1890855d404317ccda495a19972845f0
drm/vmwgfx: Fix hash key computation

The hash key computation in vmw_cmdbuf_res_remove incorrectly didn't take
the resource type into account, contrary to all the other related functions.
This becomes important when the cmdbuf resource manager handles more than
one resource type.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c