]> 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)
commitf47d55b04157979229bbf7b51245fa0b45f47cca
tree124fe69a5a76fa863d951745f8255033fb4735d7
parentb142da7bd82a83dfed5724be41dd5d8a1ff83774
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