diff options
Diffstat (limited to 'meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0379-drm-amdgpu-remove-VM-workaround-for-Fiji.patch')
-rw-r--r-- | meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0379-drm-amdgpu-remove-VM-workaround-for-Fiji.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0379-drm-amdgpu-remove-VM-workaround-for-Fiji.patch b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0379-drm-amdgpu-remove-VM-workaround-for-Fiji.patch new file mode 100644 index 00000000..02afdd3e --- /dev/null +++ b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0379-drm-amdgpu-remove-VM-workaround-for-Fiji.patch @@ -0,0 +1,28 @@ +From d07f5c4c235670fa4686eb08cb6211eb3bd0c864 Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Thu, 6 Aug 2015 11:51:23 -0400 +Subject: [PATCH 0379/1050] drm/amdgpu: remove VM workaround for Fiji + +The bug is fixed in fiji. + +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +index 88ca79f..6c63a2c 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +@@ -227,7 +227,7 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev, + * do this as a temporary workaround + */ + if (!(domain & (AMDGPU_GEM_DOMAIN_GDS | AMDGPU_GEM_DOMAIN_GWS | AMDGPU_GEM_DOMAIN_OA))) { +- if (adev->asic_type >= CHIP_TOPAZ) { ++ if ((adev->asic_type >= CHIP_TOPAZ) && (adev->asic_type != CHIP_FIJI)) { + if (byte_align & 0x7fff) + byte_align = ALIGN(byte_align, 0x8000); + if (size & 0x7fff) +-- +1.9.1 + |