diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0661-drm-amdgpu-update-Fiji-s-mmPA_SC_RASTER_CONFIG-value.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0661-drm-amdgpu-update-Fiji-s-mmPA_SC_RASTER_CONFIG-value.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0661-drm-amdgpu-update-Fiji-s-mmPA_SC_RASTER_CONFIG-value.patch b/common/recipes-kernel/linux/files/0661-drm-amdgpu-update-Fiji-s-mmPA_SC_RASTER_CONFIG-value.patch new file mode 100644 index 00000000..3378c486 --- /dev/null +++ b/common/recipes-kernel/linux/files/0661-drm-amdgpu-update-Fiji-s-mmPA_SC_RASTER_CONFIG-value.patch @@ -0,0 +1,35 @@ +From 2ff673d202ad814286faac8870fbb4f9e020bf3c Mon Sep 17 00:00:00 2001 +From: Flora Cui <Flora.Cui@amd.com> +Date: Fri, 30 Oct 2015 18:29:46 +0800 +Subject: [PATCH 0661/1050] drm/amdgpu: update Fiji's mmPA_SC_RASTER_CONFIG + value + +Change-Id: I6d138306a878450e5bf8a77a2f1aacc380a39fe5 +Signed-off-by: Flora Cui <Flora.Cui@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +index 6776cf7..4410e57 100644 +--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +@@ -2971,10 +2971,13 @@ static int gfx_v8_0_cp_gfx_start(struct amdgpu_device *adev) + amdgpu_ring_write(ring, mmPA_SC_RASTER_CONFIG - PACKET3_SET_CONTEXT_REG_START); + switch (adev->asic_type) { + case CHIP_TONGA: +- case CHIP_FIJI: + amdgpu_ring_write(ring, 0x16000012); + amdgpu_ring_write(ring, 0x0000002A); + break; ++ case CHIP_FIJI: ++ amdgpu_ring_write(ring, 0x3a00161a); ++ amdgpu_ring_write(ring, 0x0000002e); ++ break; + case CHIP_TOPAZ: + case CHIP_CARRIZO: + amdgpu_ring_write(ring, 0x00000002); +-- +1.9.1 + |