drm/bochs: use drm_gem_vram_offset to get bo offset v2
authorNirmoy Das <nirmoy.aiemd@gmail.com>
Wed, 24 Jun 2020 18:26:47 +0000 (20:26 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 25 Jun 2020 09:59:43 +0000 (11:59 +0200)
commit6b86a1224af8b369d34a41b0954d9eeabd6f35ef
tree804dd2c5247e1172de4191798db5b1c9194f5a66
parent46642a7d4d80588c1f50d06885386f0c2e00fe36
drm/bochs: use drm_gem_vram_offset to get bo offset v2

Switch over to GEM VRAM's implementation to retrieve bo->offset.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/372931/
drivers/gpu/drm/bochs/bochs_kms.c