[PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next

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

 



Acked-by: Chunming Zhou <david1.zhou at amd.com>


On 2018å¹´03æ??29æ?¥ 09:10, Yu, Qiang wrote:
> Hi guys,
>
> Ping.
>
> Regards,
> Qiang
>
> ________________________________________
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> on behalf of Qiang Yu <Qiang.Yu at amd.com>
> Sent: Tuesday, March 20, 2018 2:08:09 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Zhu, Rex
> Subject: [PATCH libdrm] headers: sync up amdgpu_drm.h with drm-next
>
> From: Rex Zhu <Rex.Zhu at amd.com>
>
> Add sensor_info type
> AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK
> AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK
>
> Reviewed-by: Evan Quan <evan.quan at amd.com>
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
> ---
>   include/drm/amdgpu_drm.h | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
> index f9d81bf..c519776 100644
> --- a/include/drm/amdgpu_drm.h
> +++ b/include/drm/amdgpu_drm.h
> @@ -723,6 +723,10 @@ struct drm_amdgpu_cs_chunk_data {
>          #define AMDGPU_INFO_SENSOR_VDDNB                0x6
>          /* Subquery id: Query graphics voltage */
>          #define AMDGPU_INFO_SENSOR_VDDGFX               0x7
> +       /* Subquery id: Query GPU stable pstate shader clock */
> +       #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_SCLK               0x8
> +       /* Subquery id: Query GPU stable pstate memory clock */
> +       #define AMDGPU_INFO_SENSOR_STABLE_PSTATE_GFX_MCLK               0x9
>   /* Number of VRAM page faults on CPU access. */
>   #define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS   0x1E
>   #define AMDGPU_INFO_VRAM_LOST_COUNTER          0x1F
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> _______________________________________________
> 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