[PATCH 1/9] drm/amdgpu:exclude 5dw digest for entry

Alex Deucher alexdeucher at gmail.com
Wed Sep 28 19:00:26 UTC 2016


On Wed, Sep 28, 2016 at 4:36 AM, Monk Liu <Monk.Liu at amd.com> wrote:
> Change-Id: I2938d5dd39a3b1b0214a761be7503740dd109feb
> Signed-off-by: Monk Liu <Monk.Liu at amd.com>

For the series:
Reviewed-by: Alex Deucher <alexander.deucher 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 6af744f..f877ba0 100644
> --- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
> @@ -369,7 +369,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;
> +               entry->data_size_byte = info.image_size - 20; /* exclude 5dw digest */
>                 entry->num_register_entries = 0;
>         }
>
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list