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

Submitted by StDenis, Tom on Oct. 5, 2016, 10:49 a.m.

Details

Message ID CY4PR12MB17681946CB189B1B7170EC1DF7C40@CY4PR12MB1768.namprd12.prod.outlook.com
State New
Headers show
Series "drm/amdgpu: revert "exclude 5dw digest for entry"" ( rev: 2 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

StDenis, Tom Oct. 5, 2016, 10:49 a.m.
That revert works on my FIJI and Tonga test setups.


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

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