diff options
Diffstat (limited to 'common/recipes-graphics/drm/libdrm')
-rw-r--r-- | common/recipes-graphics/drm/libdrm/0001-headers-sync-up-amdgpu_drm.h-with-drm-next.patch | 35 | ||||
-rw-r--r-- | common/recipes-graphics/drm/libdrm/amdgpu.ids | 12 |
2 files changed, 8 insertions, 39 deletions
diff --git a/common/recipes-graphics/drm/libdrm/0001-headers-sync-up-amdgpu_drm.h-with-drm-next.patch b/common/recipes-graphics/drm/libdrm/0001-headers-sync-up-amdgpu_drm.h-with-drm-next.patch deleted file mode 100644 index 2e6ba6ac..00000000 --- a/common/recipes-graphics/drm/libdrm/0001-headers-sync-up-amdgpu_drm.h-with-drm-next.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 48ec0e7b1203e9fbe4aa8b59642ed0abeb739ab5 Mon Sep 17 00:00:00 2001 -From: Rex Zhu <Rex.Zhu@amd.com> -Date: Wed, 31 Jan 2018 12:56:44 +0800 -Subject: [PATCH] headers: sync up amdgpu_drm.h with drm-next - -Add sensor_info type -AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK -AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK - -Change-Id: I83c763aee5cd0be21f2ab5734f0d19ffb59a2628 -Acked-by: Junwei Zhang <Jerry.Zhang@amd.com> -Reviewed-by: Evan Quan <evan.quan@amd.com> -Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> ---- - include/drm/amdgpu_drm.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h -index a023b47..f784f24 100644 ---- a/include/drm/amdgpu_drm.h -+++ b/include/drm/amdgpu_drm.h -@@ -656,6 +656,10 @@ struct drm_amdgpu_cs_chunk_data { - #define AMDGPU_INFO_SENSOR_VDDNB 0x6 - /* Subquery id: Query graphics voltage */ - #define AMDGPU_INFO_SENSOR_VDDGFX 0x7 -+ /* Subquery id: Query GPU stable pstate shader clock */ -+ #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK 0x8 -+ /* Subquery id: Query GPU stable pstate memory clock */ -+ #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK 0x9 - /* Number of VRAM page faults on CPU access. */ - #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E - #define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F --- -2.7.4 - diff --git a/common/recipes-graphics/drm/libdrm/amdgpu.ids b/common/recipes-graphics/drm/libdrm/amdgpu.ids index 88a9996c..d8867ea6 100644 --- a/common/recipes-graphics/drm/libdrm/amdgpu.ids +++ b/common/recipes-graphics/drm/libdrm/amdgpu.ids @@ -194,7 +194,11 @@ 9874, 87, AMD Radeon R5 Graphics 9874, 85, AMD Radeon R6 Graphics 9874, 84, AMD Radeon R7 Graphics -15DD, C0, AMD Radeon (TM) Vega Graphics -15DD, C1, AMD Radeon (TM) Vega Graphics -15DD, 81, AMD Radeon(TM) Vega 11 Graphics -15DD, 82, AMD Radeon(TM) Vega 8 Graphics +15DD, 81, AMD Radeon(TM) RX Vega 11 Graphics +15DD, 82, AMD Radeon(TM) RX Vega 8 Graphics +15DD, 83, AMD Radeon(TM) RX Vega 8 Graphics +15DD, 84, AMD Radeon(TM) RX Vega 6 Graphics +15DD, 85, AMD Radeon(TM) RX Vega 3 Graphics +15DD, 86, AMD Radeon(TM) RX Vega 11 Graphics +15DD, 88, AMD Radeon(TM) RX Vega 8 Graphics +15DD, C1, AMD Radeon(TM) RX Vega 11 Graphics
\ No newline at end of file |