[PATCH 3/8] drm/amdgpu:Add DPG support flag
Alex Deucher
alexdeucher at gmail.com
Tue Sep 25 20:06:38 UTC 2018
On Tue, Sep 25, 2018 at 4:04 PM James Zhu <jzhums at gmail.com> wrote:
>
> Add DPG support flag for VCN DPG mode.
>
> Signed-off-by: James Zhu <James.Zhu at amd.com>
> ---
> drivers/gpu/drm/amd/include/amd_shared.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
> index 86b167e..2f6bdf1 100644
> --- a/drivers/gpu/drm/amd/include/amd_shared.h
> +++ b/drivers/gpu/drm/amd/include/amd_shared.h
> @@ -110,6 +110,8 @@ enum amd_powergating_state {
> #define AMD_PG_SUPPORT_MMHUB (1 << 13)
> #define AMD_PG_SUPPORT_VCN (1 << 14)
>
> +#define AMD_PG_SUPPORT_DPG (1 << 15)
Please drop the new line before this define. Also, rename it VCN_DPG
so it's clear it's a VCN feature.
Alex
> +
> enum PP_FEATURE_MASK {
> PP_SCLK_DPM_MASK = 0x1,
> PP_MCLK_DPM_MASK = 0x2,
> --
> 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