[PATCH 2/9] drm/amd/powerplay: add new function point in hwmgr.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 9, 2017 at 12:41 AM, Rex Zhu <Rex.Zhu at amd.com> wrote:
> used for notify SMU the allocated buffer address.
>
> Change-Id: I91badca7729b8d9c35faf7fc09dbdee70c26099a
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>

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

> ---
>  drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
> index 126b44d..004a40e 100644
> --- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
> +++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
> @@ -363,6 +363,12 @@ struct pp_hwmgr_func {
>         int (*set_active_display_count)(struct pp_hwmgr *hwmgr, uint32_t count);
>         int (*set_deep_sleep_dcefclk)(struct pp_hwmgr *hwmgr, uint32_t clock);
>         int (*start_thermal_controller)(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range);
> +       int (*notify_cac_buffer_info)(struct pp_hwmgr *hwmgr,
> +                                       uint32_t virtual_addr_low,
> +                                       uint32_t virtual_addr_hi,
> +                                       uint32_t mc_addr_low,
> +                                       uint32_t mc_addr_hi,
> +                                       uint32_t size);
>  };
>
>  struct pp_table_func {
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux