diff options
| author | Lijo Lazar <[email protected]> | 2025-06-24 05:50:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-06-30 15:54:55 +0000 |
| commit | a3e510fd69c315a6b55f7a982caadee4e3ba6301 (patch) | |
| tree | e2aa169af8adf0c1fb2042e7801035dc8b448148 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | drm/amd/pm: Fetch SMUv13.0.12 xgmi max speed/width (diff) | |
| download | kernel-a3e510fd69c315a6b55f7a982caadee4e3ba6301.tar.gz kernel-a3e510fd69c315a6b55f7a982caadee4e3ba6301.zip | |
drm/amdgpu: Convert from DRM_* to dev_*
Convert from generic DRM_* to dev_* calls to have device context info.
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Asad Kamal <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c index dda29132dfb2..82d58ac7afb0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c @@ -463,7 +463,8 @@ int amdgpu_jpeg_reg_dump_init(struct amdgpu_device *adev, adev->jpeg.ip_dump = kcalloc(adev->jpeg.num_jpeg_inst * count, sizeof(uint32_t), GFP_KERNEL); if (!adev->jpeg.ip_dump) { - DRM_ERROR("Failed to allocate memory for JPEG IP Dump\n"); + dev_err(adev->dev, + "Failed to allocate memory for JPEG IP Dump\n"); return -ENOMEM; } adev->jpeg.reg_list = reg; |
