[PATCH 5/5] drm/amdgpu: update golden setting of stoney
Alex Deucher
alexdeucher at gmail.com
Tue Aug 2 04:21:14 UTC 2016
On Mon, Aug 1, 2016 at 11:41 PM, Huang Rui <ray.huang at amd.com> wrote:
> Signed-off-by: Huang Rui <ray.huang at amd.com>
For the series:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
> index 84d4f7f..b71ddd3 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
> @@ -103,6 +103,11 @@ static const u32 stoney_mgcg_cgcg_init[] =
> mmMC_MEM_POWER_LS, 0xffffffff, 0x00000104
> };
>
> +static const u32 golden_settings_stoney_common[] =
> +{
> + mmMC_HUB_RDREQ_UVD, MC_HUB_RDREQ_UVD__PRESCALE_MASK, 0x00000004,
> + mmMC_RD_GRP_OTH, MC_RD_GRP_OTH__UVD_MASK, 0x00600000
> +};
>
> static void gmc_v8_0_init_golden_registers(struct amdgpu_device *adev)
> {
> @@ -142,6 +147,9 @@ static void gmc_v8_0_init_golden_registers(struct amdgpu_device *adev)
> amdgpu_program_register_sequence(adev,
> stoney_mgcg_cgcg_init,
> (const u32)ARRAY_SIZE(stoney_mgcg_cgcg_init));
> + amdgpu_program_register_sequence(adev,
> + golden_settings_stoney_common,
> + (const u32)ARRAY_SIZE(golden_settings_stoney_common));
> break;
> default:
> break;
> --
> 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