aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0466-drm-amdgpu-bump-the-DRM-version-for-new-allowed-mem-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0466-drm-amdgpu-bump-the-DRM-version-for-new-allowed-mem-.patch')
-rw-r--r--common/recipes-kernel/linux/files/0466-drm-amdgpu-bump-the-DRM-version-for-new-allowed-mem-.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0466-drm-amdgpu-bump-the-DRM-version-for-new-allowed-mem-.patch b/common/recipes-kernel/linux/files/0466-drm-amdgpu-bump-the-DRM-version-for-new-allowed-mem-.patch
new file mode 100644
index 00000000..735b58cf
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0466-drm-amdgpu-bump-the-DRM-version-for-new-allowed-mem-.patch
@@ -0,0 +1,37 @@
+From 6055f37afd8b68aaf512532e7e2dd651df2d7833 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= <marek.olsak@amd.com>
+Date: Tue, 18 Aug 2015 23:58:47 +0200
+Subject: [PATCH 0466/1050] drm/amdgpu: bump the DRM version for new allowed
+ mem-mapped registers
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Used by mesa, etc. for profiling.
+
+Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
+Signed-off-by: Marek Olšák <marek.olsak@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+index e6fa278..0fcc0bd 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+@@ -49,9 +49,10 @@
+ /*
+ * KMS wrapper.
+ * - 3.0.0 - initial driver
++ * - 3.1.0 - allow reading more status registers (GRBM, SRBM, SDMA, CP)
+ */
+ #define KMS_DRIVER_MAJOR 3
+-#define KMS_DRIVER_MINOR 0
++#define KMS_DRIVER_MINOR 1
+ #define KMS_DRIVER_PATCHLEVEL 0
+
+ int amdgpu_vram_limit = 0;
+--
+1.9.1
+