diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1375-drm-amdgpu-Add-lds_size-to-struct-amdgpu_cu_info.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/1375-drm-amdgpu-Add-lds_size-to-struct-amdgpu_cu_info.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1375-drm-amdgpu-Add-lds_size-to-struct-amdgpu_cu_info.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1375-drm-amdgpu-Add-lds_size-to-struct-amdgpu_cu_info.patch new file mode 100644 index 00000000..b0e0bff7 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1375-drm-amdgpu-Add-lds_size-to-struct-amdgpu_cu_info.patch @@ -0,0 +1,42 @@ +From a5bbf8f743edde544562126200c1bd1ffcd01dbf Mon Sep 17 00:00:00 2001 +From: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> +Date: Thu, 5 Nov 2015 11:17:39 -0500 +Subject: [PATCH 1375/4131] drm/amdgpu: Add lds_size to struct amdgpu_cu_info + +BUG: SWDEV-80501 +Change-Id: I45d59d0a24d48e2a339acb41b4e948d1324b0128 + + Conflicts: + drivers/gpu/drm/amd/amdgpu/amdgpu.h +--- + drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 1 + + drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +index 83266bf..5eb44f7 100644 +--- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +@@ -5255,6 +5255,7 @@ static void gfx_v7_0_get_cu_info(struct amdgpu_device *adev) + cu_info->max_waves_per_simd = 10; + cu_info->max_scratch_slots_per_cu = 32; + cu_info->wave_front_size = 64; ++ cu_info->lds_size = 64; + } + } + +diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +index 93d750f..50e8533 100644 +--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +@@ -7004,6 +7004,7 @@ static void gfx_v8_0_get_cu_info(struct amdgpu_device *adev) + cu_info->max_waves_per_simd = 10; + cu_info->max_scratch_slots_per_cu = 32; + cu_info->wave_front_size = 64; ++ cu_info->lds_size = 64; + break; + default: + dev_warn(adev->dev, "CU info asic_type [0x%x] not supported\n", +-- +2.7.4 + |