diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1911-drm-amdgpu-Add-a-new-flag-for-SR-IOV-to-share-memory.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1911-drm-amdgpu-Add-a-new-flag-for-SR-IOV-to-share-memory.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1911-drm-amdgpu-Add-a-new-flag-for-SR-IOV-to-share-memory.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1911-drm-amdgpu-Add-a-new-flag-for-SR-IOV-to-share-memory.patch new file mode 100644 index 00000000..8c17d037 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1911-drm-amdgpu-Add-a-new-flag-for-SR-IOV-to-share-memory.patch @@ -0,0 +1,30 @@ +From 5ea8dd53b904bcc98e3a0be0fba78c98ffc66feb Mon Sep 17 00:00:00 2001 +From: Horace Chen <horace.chen@amd.com> +Date: Wed, 27 Sep 2017 16:13:17 +0800 +Subject: [PATCH 1911/4131] drm/amdgpu: Add a new flag for SR-IOV to share + memory between PF & VF + +Add ATOM_VRAM_BLOCK_SRIOV_MSG_SHARE_RESERVATION to identify whether +driver need to reserve VRAM for SR-IOV shared memory. + +Signed-off-by: Horace Chen <horace.chen@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/include/atombios.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h +index 181a2c3..f696bbb 100644 +--- a/drivers/gpu/drm/amd/include/atombios.h ++++ b/drivers/gpu/drm/amd/include/atombios.h +@@ -4292,6 +4292,7 @@ typedef struct _ATOM_DPCD_INFO + #define ATOM_VRAM_OPERATION_FLAGS_SHIFT 30 + #define ATOM_VRAM_BLOCK_NEEDS_NO_RESERVATION 0x1 + #define ATOM_VRAM_BLOCK_NEEDS_RESERVATION 0x0 ++#define ATOM_VRAM_BLOCK_SRIOV_MSG_SHARE_RESERVATION 0x2 + + /***********************************************************************************/ + // Structure used in VRAM_UsageByFirmwareTable +-- +2.7.4 + |