[PATCH] drm/amdgpu: comment out unused defaults_staturn_pro static const structure to fix the build

Alex Deucher alexdeucher at gmail.com
Wed Jul 27 21:44:09 UTC 2016


On Wed, Jul 27, 2016 at 2:36 PM, Slava Grigorev <slava.grigorev at amd.com> wrote:
> Signed-off-by: Slava Grigorev <slava.grigorev at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
> index 573bc97..5d4ec41 100644
> --- a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
> @@ -102,12 +102,14 @@ static const struct ci_pt_defaults defaults_saturn_xt =
>         { 0x187, 0x187, 0x187, 0x1C7, 0x1C7, 0x1C7, 0x210, 0x210, 0x210, 0x266, 0x266, 0x266, 0x2C9, 0x2C9, 0x2C9 }
>  };
>
> +#if 0
>  static const struct ci_pt_defaults defaults_saturn_pro =
>  {
>         1, 0xF, 0xFD, 0x19, 5, 55, 0, 0x30000,
>         { 0x96,  0x21D, 0x23B, 0xA1,  0x85,  0x87,  0x83,  0x84,  0x81,  0xE6,  0xE6,  0xE6,  0x71,  0x6A,  0x6A  },
>         { 0x193, 0x19E, 0x19E, 0x1D2, 0x1DC, 0x1DC, 0x21A, 0x223, 0x223, 0x26E, 0x27E, 0x274, 0x2CF, 0x2D2, 0x2D2 }
>  };
> +#endif
>
>  static const struct ci_pt_config_reg didt_config_ci[] =
>  {
> --
> 2.7.4
>
> _______________________________________________
> 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