aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2236-drm-amdgpu-add-pa_sc_tile_steering_override-to-drm_a.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2236-drm-amdgpu-add-pa_sc_tile_steering_override-to-drm_a.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2236-drm-amdgpu-add-pa_sc_tile_steering_override-to-drm_a.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2236-drm-amdgpu-add-pa_sc_tile_steering_override-to-drm_a.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2236-drm-amdgpu-add-pa_sc_tile_steering_override-to-drm_a.patch
new file mode 100644
index 00000000..91f2c959
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2236-drm-amdgpu-add-pa_sc_tile_steering_override-to-drm_a.patch
@@ -0,0 +1,32 @@
+From 9e73364fcc4a77df77e7d131a9eaae49cdaa1452 Mon Sep 17 00:00:00 2001
+From: Hawking Zhang <Hawking.Zhang@amd.com>
+Date: Tue, 12 Jun 2018 18:30:04 +0800
+Subject: [PATCH 2236/2940] drm/amdgpu: add pa_sc_tile_steering_override to
+ drm_amdgpu_info_device
+
+the initial/default value of pa_sc_tile_steering_override need to
+be exposed to user mode driver
+
+Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ include/uapi/drm/amdgpu_drm.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
+index 09d68e9ea75a..69490037e1a4 100644
+--- a/include/uapi/drm/amdgpu_drm.h
++++ b/include/uapi/drm/amdgpu_drm.h
+@@ -1070,6 +1070,8 @@ struct drm_amdgpu_info_device {
+ __u64 high_va_offset;
+ /** The maximum high virtual address */
+ __u64 high_va_max;
++ /* gfx10 pa_sc_tile_steering_override */
++ __u32 pa_sc_tile_steering_override;
+ };
+
+ struct drm_amdgpu_info_hw_ip {
+--
+2.17.1
+