[PATCH] drm/amdgpu: revert "exclude 5dw digest for entry"

StDenis, Tom Tom.StDenis at amd.com
Wed Oct 5 10:49:13 UTC 2016


That revert works on my FIJI and Tonga test setups.


Reviewed-by: Tom St Denis <tom.stdenis at amd.com>


________________________________
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> on behalf of Christian König <deathsimple at vodafone.de>
Sent: Wednesday, October 5, 2016 05:08
To: amd-gfx at lists.freedesktop.org
Subject: [PATCH] drm/amdgpu: revert "exclude 5dw digest for entry"

From: Christian König <christian.koenig at amd.com>

This commit breaks driver load on a whole bunch of hardware,
revert it for now until we know how to do this correctly.

This reverts commit 6691270952b6909218c520dcc71a342070c96874.

Signed-off-by: Christian König <christian.koenig at amd.com>
---
 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
index 2dc4b30..6df0d6e 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
@@ -372,7 +372,7 @@ static int smu7_populate_single_firmware_entry(struct pp_smumgr *smumgr,
                 entry->image_addr_low = smu_lower_32_bits(info.mc_addr);
                 entry->meta_data_addr_high = 0;
                 entry->meta_data_addr_low = 0;
-               entry->data_size_byte = info.image_size - 20; /* exclude 5dw digest */
+               entry->data_size_byte = info.image_size;
                 entry->num_register_entries = 0;
         }

--
2.5.0

_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
amd-gfx Info Page - lists.freedesktop.org<https://lists.freedesktop.org/mailman/listinfo/amd-gfx>
lists.freedesktop.org
To see the collection of prior postings to the list, visit the amd-gfx Archives. Using amd-gfx: To post a message to all the list members, send email ...



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20161005/5e6a60a7/attachment.html>


More information about the amd-gfx mailing list