summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/amdgpu_drm.h
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>2023-07-27 08:02:46 +0530
committerAlex Deucher <alexander.deucher@amd.com>2023-08-30 15:51:17 -0400
commit8254e05c8297e31e398911dffc3d7f37602d87b2 (patch)
treeb475a7ef4d519aadef278f5cc966c271ee2ebfce /include/uapi/drm/amdgpu_drm.h
parentfe320639c129c7a46fe6885e9ca0a06201895cb6 (diff)
downloadlinux-stable-8254e05c8297e31e398911dffc3d7f37602d87b2.tar.gz
linux-stable-8254e05c8297e31e398911dffc3d7f37602d87b2.tar.bz2
linux-stable-8254e05c8297e31e398911dffc3d7f37602d87b2.zip
drm/amdgpu: Fix printk_ratelimit() with DRM_ERROR_RATELIMITED in 'amdgpu_cs_ioctl'
Replaced printk_ratelimit() with its DRM equivalent to avoid flooding of dmesg logs & hence fixes the following: WARNING: Prefer printk_ratelimited or pr_<level>_ratelimited to printk_ratelimit + if (printk_ratelimit()) Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by: Guchun Chen <guchun.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm/amdgpu_drm.h')
0 files changed, 0 insertions, 0 deletions