]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/radeon: Add RADEON_GEM_CPU_ACCESS BO creation flag
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 28 Aug 2014 06:56:00 +0000 (15:56 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Sep 2014 15:29:45 +0000 (11:29 -0400)
commitc858403943886a92eece9d0413aa65c48bbe6fa7
treea259ede5ad9d773075b868e9bd28fbd4e2ae75cb
parentfdcaa1dbb7c6ed419b10fb8cdb5001ab0a00538f
drm/radeon: Add RADEON_GEM_CPU_ACCESS BO creation flag

This flag is a hint that userspace expects the BO to be accessed by the
CPU. We can use that hint to prevent such BOs from ever being stored in
the CPU inaccessible part of VRAM.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_object.c
include/uapi/drm/radeon_drm.h