Patch "drm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query" has been added to the 4.0-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
drm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query
to the 4.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-radeon-add-radeon_info_va_unmap_working-query.patch
and it can be found in the queue-4.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
3bc980bf19bb62007e923691fa2869ba113be895Mon Sep 17 00:00:00 2001
From: Michel Dänzer <[email protected]>
Date: Tue, 16 Jun 2015 17:28:16 +0900
Subject: drm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: Michel Dänzer <[email protected]>
commit 3bc980bf19bb62007e923691fa2869ba113be895 upstream.
This tells userspace that it's safe to use the RADEON_VA_UNMAP operation of the DRM_RADEON_GEM_VA ioctl.
--- drivers/gpu/drm/radeon/radeon_kms.c | 3 +++ include/uapi/drm/radeon_drm.h | 1 + 2 files changed, 4 insertions(+)
drivers/gpu/drm/radeon/radeon_kms.c +3 -0
@@ -547,6 +547,9 @@ static int radeon_info_ioctl(struct drm_else *value =1 ;break ; +case RADEON_INFO_VA_UNMAP_WORKING : + *value = true; +break ;default :DRM_DEBUG_KMS ("Invalid request %d\n" , info->request);return -EINVAL ;
include/uapi/drm/radeon_drm.h +1 -0
@@ -1034,6 +1034,7 @@ struct drm_radeon_cs {#define RADEON_INFO_VRAM_USAGE 0x1e#define RADEON_INFO_GTT_USAGE 0x1f#define RADEON_INFO_ACTIVE_CU_COUNT 0x20 +#define RADEON_INFO_VA_UNMAP_WORKING 0x25struct drm_radeon_info {uint32_t request;
Patches currently in stable-queue which might be from [email protected] are
queue-4.0/drm-radeon-add-radeon_info_va_unmap_working-query.patch