drm/vmwgfx: Allow resource relocations on byte boundaries
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 10 Oct 2016 17:44:00 +0000 (10:44 -0700)
committerSinclair Yeh <syeh@vmware.com>
Mon, 10 Oct 2016 18:15:02 +0000 (11:15 -0700)
commite7a45284ba1abcea591f7c01b05227b6698b596c
tree5bb4f977a949f3362ab4ef3b5b5a32f9a99b4454
parent1f982e4e390b31d6c44fb8bf03e3462ab33b8244
drm/vmwgfx: Allow resource relocations on byte boundaries

So far, resource allocations have only been allowed on 4-byte boundaries.
As commands get packed tighter, allow them on byte boundaries.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c