diff options
Diffstat (limited to 'common/recipes-graphics/drm')
3 files changed, 11 insertions, 42 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 diff --git a/common/recipes-graphics/drm/libdrm_git.bb b/common/recipes-graphics/drm/libdrm_git.bb index 4c775af7..d516c526 100644 --- a/common/recipes-graphics/drm/libdrm_git.bb +++ b/common/recipes-graphics/drm/libdrm_git.bb @@ -9,15 +9,15 @@ SECTION = "x11/base" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" PROVIDES = "drm" -PV = "git" +DRM_VERSION = "2.4.96" +PV = "${DRM_VERSION}+git${SRCPV}" inherit autotools pkgconfig -SRCREV = "85ae22af0f209e73c954d8867d9189ab2cfeb3e1" +SRCREV = "5a3bdc7add2f30f7673052376514c91dbcd1b64a" DEPENDS = "libpthread-stubs udev libpciaccess freetype libxext cairo fontconfig libxrender libpng pixman" SRC_URI = "git://anongit.freedesktop.org/mesa/drm;branch=master \ - file://0001-headers-sync-up-amdgpu_drm.h-with-drm-next.patch \ file://amdgpu.ids \ " |