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)
commit0468ab5b791b0d55a7158b70f555157c8d79d0fb
tree124fe69a5a76fa863d951745f8255033fb4735d7
parent21e88620aa21b48d4f62d29275e3e2944a5ea2b5
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