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)
commit2bc7b0ca8cc3bdcf61a7d4a99ed55c4ad084a4ae
treef5ae58fcde9c00c791536f9772cf762f4804c67e
parentb21e3afe2357c0f49348a5fb61247012bf8262ec
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