]> git.baikalelectronics.ru Git - kernel.git/commit
drm/host1x: stop casting VMA offsets to 32bit
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 13 Aug 2013 12:19:58 +0000 (14:19 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Aug 2013 00:40:46 +0000 (10:40 +1000)
commit4a0f39350900924d7b3022244601e978401e5fa3
treef5ae58fcde9c00c791536f9772cf762f4804c67e
parent4c8e2a63b21254bfacc3a82798e881338ec5334a
drm/host1x: stop casting VMA offsets to 32bit

VMA offsets are 64bit so do not cast them to "unsigned int". Also remove
the (now useless) offset-retrieval helper. The VMA manager provides simple
enough helpers.

Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: "Terje Bergström" <tbergstrom@nvidia.com>
Cc: Arto Merilainen <amerilainen@nvidia.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/host1x/drm/drm.c
drivers/gpu/host1x/drm/gem.c
drivers/gpu/host1x/drm/gem.h