diff options
author | Flora Cui <Flora.Cui@amd.com> | 2016-12-15 02:03:43 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-12-20 19:43:02 -0500 |
commit | 6b7985efc3b56dba3a49221464e7ef65688cda76 (patch) | |
tree | a52885bf0b71ac9150a308a706f9a02dfb649be1 /drivers/gpu/drm/amd/amdgpu/si.c | |
parent | 05319478dad476841282a0eab66a00da425e0914 (diff) |
drm/amdgpu: update golden setting for oland
Signed-off-by: Flora Cui <Flora.Cui@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/si.c | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c index 232ee8909d38..8e2377b7fcf5 100644 --- a/drivers/gpu/drm/amd/amdgpu/si.c +++ b/drivers/gpu/drm/amd/amdgpu/si.c | |||
@@ -340,6 +340,7 @@ static const u32 verde_golden_registers[] = | |||
340 | 340 | ||
341 | static const u32 oland_golden_registers[] = | 341 | static const u32 oland_golden_registers[] = |
342 | { | 342 | { |
343 | 0x17bc, 0x00000030, 0x00000011, | ||
343 | 0x2684, 0x00010000, 0x00018208, | 344 | 0x2684, 0x00010000, 0x00018208, |
344 | 0x260c, 0xffffffff, 0x00000000, | 345 | 0x260c, 0xffffffff, 0x00000000, |
345 | 0x260d, 0xf00fffff, 0x00000400, | 346 | 0x260d, 0xf00fffff, 0x00000400, |
@@ -348,7 +349,7 @@ static const u32 oland_golden_registers[] = | |||
348 | 0x340c, 0x000300c0, 0x00800040, | 349 | 0x340c, 0x000300c0, 0x00800040, |
349 | 0x360c, 0x000300c0, 0x00800040, | 350 | 0x360c, 0x000300c0, 0x00800040, |
350 | 0x16ec, 0x000000f0, 0x00000070, | 351 | 0x16ec, 0x000000f0, 0x00000070, |
351 | 0x16f9, 0x00200000, 0x50100000, | 352 | 0x16f0, 0x00200000, 0x50100000, |
352 | 0x1c0c, 0x31000311, 0x00000011, | 353 | 0x1c0c, 0x31000311, 0x00000011, |
353 | 0x0ab9, 0x00073ffe, 0x000022a2, | 354 | 0x0ab9, 0x00073ffe, 0x000022a2, |
354 | 0x0903, 0x000007ff, 0x00000000, | 355 | 0x0903, 0x000007ff, 0x00000000, |
@@ -357,7 +358,7 @@ static const u32 oland_golden_registers[] = | |||
357 | 0x22c4, 0x0000ff0f, 0x00000000, | 358 | 0x22c4, 0x0000ff0f, 0x00000000, |
358 | 0xa293, 0x07ffffff, 0x4e000000, | 359 | 0xa293, 0x07ffffff, 0x4e000000, |
359 | 0xa0d4, 0x3f3f3fff, 0x00000082, | 360 | 0xa0d4, 0x3f3f3fff, 0x00000082, |
360 | 0x000c, 0x000000ff, 0x0040, | 361 | 0x000c, 0xffffffff, 0x0040, |
361 | 0x000d, 0x00000040, 0x00004040, | 362 | 0x000d, 0x00000040, 0x00004040, |
362 | 0x2440, 0x07ffffff, 0x03000000, | 363 | 0x2440, 0x07ffffff, 0x03000000, |
363 | 0x2418, 0x0000007f, 0x00000020, | 364 | 0x2418, 0x0000007f, 0x00000020, |
@@ -366,11 +367,16 @@ static const u32 oland_golden_registers[] = | |||
366 | 0x2b04, 0xffffffff, 0x00000000, | 367 | 0x2b04, 0xffffffff, 0x00000000, |
367 | 0x2b03, 0xffffffff, 0x00003210, | 368 | 0x2b03, 0xffffffff, 0x00003210, |
368 | 0x2235, 0x0000001f, 0x00000010, | 369 | 0x2235, 0x0000001f, 0x00000010, |
369 | 0x0570, 0x000c0fc0, 0x000c0400 | 370 | 0x0570, 0x000c0fc0, 0x000c0400, |
371 | 0x052c, 0x0fffffff, 0xffffffff, | ||
372 | 0x052d, 0x0fffffff, 0x0fffffff, | ||
373 | 0x052e, 0x0fffffff, 0x0fffffff, | ||
374 | 0x052f, 0x0fffffff, 0x0fffffff | ||
370 | }; | 375 | }; |
371 | 376 | ||
372 | static const u32 oland_golden_rlc_registers[] = | 377 | static const u32 oland_golden_rlc_registers[] = |
373 | { | 378 | { |
379 | 0x263e, 0xffffffff, 0x02010002, | ||
374 | 0x3109, 0xffffffff, 0x00601005, | 380 | 0x3109, 0xffffffff, 0x00601005, |
375 | 0x311f, 0xffffffff, 0x10104040, | 381 | 0x311f, 0xffffffff, 0x10104040, |
376 | 0x3122, 0xffffffff, 0x0100000a, | 382 | 0x3122, 0xffffffff, 0x0100000a, |
@@ -809,18 +815,18 @@ static const u32 oland_mgcg_cgcg_init[] = | |||
809 | 0x21c2, 0xffffffff, 0x00900100, | 815 | 0x21c2, 0xffffffff, 0x00900100, |
810 | 0x311e, 0xffffffff, 0x00000080, | 816 | 0x311e, 0xffffffff, 0x00000080, |
811 | 0x3101, 0xffffffff, 0x0020003f, | 817 | 0x3101, 0xffffffff, 0x0020003f, |
812 | 0xc, 0xffffffff, 0x0000001c, | 818 | 0x000c, 0xffffffff, 0x0000001c, |
813 | 0xd, 0x000f0000, 0x000f0000, | 819 | 0x000d, 0x000f0000, 0x000f0000, |
814 | 0x583, 0xffffffff, 0x00000100, | 820 | 0x0583, 0xffffffff, 0x00000100, |
815 | 0x409, 0xffffffff, 0x00000100, | 821 | 0x0409, 0xffffffff, 0x00000100, |
816 | 0x40b, 0x00000101, 0x00000000, | 822 | 0x040b, 0x00000101, 0x00000000, |
817 | 0x82a, 0xffffffff, 0x00000104, | 823 | 0x082a, 0xffffffff, 0x00000104, |
818 | 0x993, 0x000c0000, 0x000c0000, | 824 | 0x0993, 0x000c0000, 0x000c0000, |
819 | 0x992, 0x000c0000, 0x000c0000, | 825 | 0x0992, 0x000c0000, 0x000c0000, |
820 | 0x1579, 0xff000fff, 0x00000100, | 826 | 0x1579, 0xff000fff, 0x00000100, |
821 | 0x157a, 0x00000001, 0x00000001, | 827 | 0x157a, 0x00000001, 0x00000001, |
822 | 0xbd4, 0x00000001, 0x00000001, | 828 | 0x0bd4, 0x00000001, 0x00000001, |
823 | 0xc33, 0xc0000fff, 0x00000104, | 829 | 0x0c33, 0xc0000fff, 0x00000104, |
824 | 0x3079, 0x00000001, 0x00000001, | 830 | 0x3079, 0x00000001, 0x00000001, |
825 | 0x3430, 0xfffffff0, 0x00000100, | 831 | 0x3430, 0xfffffff0, 0x00000100, |
826 | 0x3630, 0xfffffff0, 0x00000100 | 832 | 0x3630, 0xfffffff0, 0x00000100 |