[PATCH 09/10] drm/amdgpu: bump minor version number for DEV_INFO and SENSOR IOCTLs update

Alex Deucher alexdeucher at gmail.com
Fri Dec 9 21:58:22 UTC 2022


On Thu, Dec 8, 2022 at 10:49 PM Evan Quan <evan.quan at amd.com> wrote:
>
> Update AMDGPU_INFO_DEV_INFO IOCTL for minimum engine and memory clock.
> And update AMDGPU_INFO_SENSOR IOCTL for PEAK_PSTATE engine and memory clock.
> User applications can better utilize these IOCTLs to get needed informations.
>
> Increase the minor version number to indicate that the new flags are
> available.

We need updated user space patches which use the IOCTL updates before
they can land.  Once we have those, the patches are:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

>
> Signed-off-by: Evan Quan <evan.quan at amd.com>
> Change-Id: I2fc85ed8046391555282c0629d88c875488c2b97
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> index 0826b0bca328..fb1720d171de 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> @@ -102,10 +102,12 @@
>   * - 3.46.0 - To enable hot plug amdgpu tests in libdrm
>   * - 3.47.0 - Add AMDGPU_GEM_CREATE_DISCARDABLE and AMDGPU_VM_NOALLOC flags
>   * - 3.48.0 - Add IP discovery version info to HW INFO
> - *   3.49.0 - Add gang submit into CS IOCTL
> + * - 3.49.0 - Add gang submit into CS IOCTL
> + * - 3.50.0 - Update AMDGPU_INFO_DEV_INFO IOCTL for minimum engine and memory clock
> + *            Update AMDGPU_INFO_SENSOR IOCTL for PEAK_PSTATE engine and memory clock
>   */
>  #define KMS_DRIVER_MAJOR       3
> -#define KMS_DRIVER_MINOR       49
> +#define KMS_DRIVER_MINOR       50
>  #define KMS_DRIVER_PATCHLEVEL  0
>
>  int amdgpu_vram_limit;
> --
> 2.34.1
>


More information about the amd-gfx mailing list