[PATCH v2 1/3] drm/radeon: Add new callback that exposes vddc
Sandeep
sandy.8925 at gmail.com
Sat Oct 24 17:47:16 UTC 2020
Hello,
I've resent the patches in the correct format. Please review.
- Sandeep
On Fri, 9 Oct 2020 at 13:14, Sandeep Raghuraman <sandy.8925 at gmail.com> wrote:
>
> This patch adds a callback for reporting vddc, to the dpm field of the radeon_asic structure.
>
> Signed-off-by: Sandeep Raghuraman <sandy.8925 at gmail.com>
>
> ---
> drivers/gpu/drm/radeon/radeon.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
> index cc4f58d16589..85a1cafdf303 100644
> --- a/drivers/gpu/drm/radeon/radeon.h
> +++ b/drivers/gpu/drm/radeon/radeon.h
> @@ -1992,6 +1992,7 @@ struct radeon_asic {
> int (*get_fan_speed_percent)(struct radeon_device *rdev, u32 *speed);
> u32 (*get_current_sclk)(struct radeon_device *rdev);
> u32 (*get_current_mclk)(struct radeon_device *rdev);
> + u16 (*get_current_vddc)(struct radeon_device *rdev);
> } dpm;
> /* pageflipping */
> struct {
> --
More information about the dri-devel
mailing list