aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-08-15 02:16:58 -0400
committerDave Airlie <airlied@redhat.com>2017-08-15 02:16:58 -0400
commit0c697fafc66830ca7d5dc19123a1d0641deaa1f6 (patch)
treec56336719ca8de16f78ada78e606dffa471e47d5 /drivers/gpu/drm/amd/amdgpu
parent09ef2378dc42339f3871584dc26d27da220277cb (diff)
parentef954844c7ace62f773f4f23e28d2d915adc419f (diff)
Backmerge tag 'v4.13-rc5' into drm-next
Linux 4.13-rc5 There's a really nasty nouveau collision, hopefully someone can take a look once I pushed this out.
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/si.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
index 38f739fb727b..6558a3ed57a7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
@@ -359,7 +359,7 @@ void amdgpu_mn_unregister(struct amdgpu_bo *bo)
359 head = bo->mn_list.next; 359 head = bo->mn_list.next;
360 360
361 bo->mn = NULL; 361 bo->mn = NULL;
362 list_del(&bo->mn_list); 362 list_del_init(&bo->mn_list);
363 363
364 if (list_empty(head)) { 364 if (list_empty(head)) {
365 struct amdgpu_mn_node *node; 365 struct amdgpu_mn_node *node;
diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c
index 812a24dd1204..8284d5dbfc30 100644
--- a/drivers/gpu/drm/amd/amdgpu/si.c
+++ b/drivers/gpu/drm/amd/amdgpu/si.c
@@ -1413,6 +1413,7 @@ static void si_init_golden_registers(struct amdgpu_device *adev)
1413 amdgpu_program_register_sequence(adev, 1413 amdgpu_program_register_sequence(adev,
1414 pitcairn_mgcg_cgcg_init, 1414 pitcairn_mgcg_cgcg_init,
1415 (const u32)ARRAY_SIZE(pitcairn_mgcg_cgcg_init)); 1415 (const u32)ARRAY_SIZE(pitcairn_mgcg_cgcg_init));
1416 break;
1416 case CHIP_VERDE: 1417 case CHIP_VERDE:
1417 amdgpu_program_register_sequence(adev, 1418 amdgpu_program_register_sequence(adev,
1418 verde_golden_registers, 1419 verde_golden_registers,
@@ -1437,6 +1438,7 @@ static void si_init_golden_registers(struct amdgpu_device *adev)
1437 amdgpu_program_register_sequence(adev, 1438 amdgpu_program_register_sequence(adev,
1438 oland_mgcg_cgcg_init, 1439 oland_mgcg_cgcg_init,
1439 (const u32)ARRAY_SIZE(oland_mgcg_cgcg_init)); 1440 (const u32)ARRAY_SIZE(oland_mgcg_cgcg_init));
1441 break;
1440 case CHIP_HAINAN: 1442 case CHIP_HAINAN:
1441 amdgpu_program_register_sequence(adev, 1443 amdgpu_program_register_sequence(adev,
1442 hainan_golden_registers, 1444 hainan_golden_registers,