diff options
| author | Asad Kamal <[email protected]> | 2024-11-13 09:17:23 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-11-20 14:35:27 +0000 |
| commit | 85270776f65d27b1c9720324745ab7da3ed71b3e (patch) | |
| tree | 419f685e32ab1141136d02200c497623f5f3234d /drivers/gpu/drm/amd/include/kgd_pp_interface.h | |
| parent | Merge tag 'drm-xe-next-fixes-2024-11-15' of https://gitlab.freedesktop.org/dr... (diff) | |
| download | kernel-85270776f65d27b1c9720324745ab7da3ed71b3e.tar.gz kernel-85270776f65d27b1c9720324745ab7da3ed71b3e.zip | |
drm/amd/pm: Update data types used for uapi i/f
Update member's data type in amdgpu_xcp_metrics from linux specific
to the ones compatible to uapi interface
Fixes: 4c07ff7d07f7 ("drm/amd/pm: Add gpu_metrics_v1_6")
Signed-off-by: Asad Kamal <[email protected]>
Reviewed-by: Yang Wang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/include/kgd_pp_interface.h')
| -rw-r--r-- | drivers/gpu/drm/amd/include/kgd_pp_interface.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/include/kgd_pp_interface.h b/drivers/gpu/drm/amd/include/kgd_pp_interface.h index bb27c0d2a9ae..640f6dcdbe1d 100644 --- a/drivers/gpu/drm/amd/include/kgd_pp_interface.h +++ b/drivers/gpu/drm/amd/include/kgd_pp_interface.h @@ -357,11 +357,11 @@ struct dpm_clocks; struct amdgpu_xcp_metrics { /* Utilization Instantaneous (%) */ - u32 gfx_busy_inst[MAX_XCC]; - u16 jpeg_busy[NUM_JPEG_ENG]; - u16 vcn_busy[NUM_VCN]; + uint32_t gfx_busy_inst[MAX_XCC]; + uint16_t jpeg_busy[NUM_JPEG_ENG]; + uint16_t vcn_busy[NUM_VCN]; /* Utilization Accumulated (%) */ - u64 gfx_busy_acc[MAX_XCC]; + uint64_t gfx_busy_acc[MAX_XCC]; }; struct amd_pm_funcs { |
