diff options
author | 2019-02-07 09:59:27 +0100 | |
---|---|---|
committer | 2019-03-19 15:03:53 -0500 | |
commit | fd16ac8e4c95d853913f6a080a0bc19d64a943f8 (patch) | |
tree | 25dab76a5419a02c8f14faa9a2295882d8312e85 | |
parent | drm/amdgpu: fix HMM config dependency issue (diff) | |
download | linux-dev-fd16ac8e4c95d853913f6a080a0bc19d64a943f8.tar.xz linux-dev-fd16ac8e4c95d853913f6a080a0bc19d64a943f8.zip |
staging/vboxvideo: Use same BO mmap offset as other drivers
The vboxvideo driver mmaps BOs at 0x10000000 or higher. Changing the
offset to 0x100000000 aligns the driver with all other DRM drivers.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/staging/vboxvideo/vbox_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vboxvideo/vbox_drv.h b/drivers/staging/vboxvideo/vbox_drv.h index aa40e5cc2861..eba5a8bc9cea 100644 --- a/drivers/staging/vboxvideo/vbox_drv.h +++ b/drivers/staging/vboxvideo/vbox_drv.h @@ -209,7 +209,7 @@ int vbox_dumb_mmap_offset(struct drm_file *file, struct drm_device *dev, u32 handle, u64 *offset); -#define DRM_FILE_PAGE_OFFSET (0x10000000ULL >> PAGE_SHIFT) +#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT) int vbox_mm_init(struct vbox_private *vbox); void vbox_mm_fini(struct vbox_private *vbox); |