summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/amdgpu_drm.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2022-12-05 10:09:38 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-12-15 12:19:01 -0500
commit88347fa18bead86949c45229faaa2c66177c62fb (patch)
tree7b2d1e591d558f53c2a402cfeab1ca55542d551e /include/uapi/drm/amdgpu_drm.h
parent5cfd978490d82486fc3286a72009fb3229760555 (diff)
downloadlinux-stable-88347fa18bead86949c45229faaa2c66177c62fb.tar.gz
linux-stable-88347fa18bead86949c45229faaa2c66177c62fb.tar.bz2
linux-stable-88347fa18bead86949c45229faaa2c66177c62fb.zip
drm/amdgpu: expose the minimum shader/memory clock frequency
Otherwise, some UMD tools will treate them as 0 at default while actually they are not. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm/amdgpu_drm.h')
-rw-r--r--include/uapi/drm/amdgpu_drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 8c5d05384767..fe7f871e3080 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -1111,6 +1111,8 @@ struct drm_amdgpu_info_device {
__u32 pa_sc_tile_steering_override;
/* disabled TCCs */
__u64 tcc_disabled_mask;
+ __u64 min_engine_clock;
+ __u64 min_memory_clock;
};
struct drm_amdgpu_info_hw_ip {