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

Submitted by Christian König on Oct. 5, 2016, 9:08 a.m.

Details

Message ID 1475658481-1743-1-git-send-email-deathsimple@vodafone.de
State New
Headers show
Series "drm/amdgpu: revert "exclude 5dw digest for entry"" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Christian König Oct. 5, 2016, 9:08 a.m.
From: Christian König <christian.koenig@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@amd.com>
---
 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;
 	}