mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
drm/amdgpu: Convert from DRM_* to dev_*
Convert from generic DRM_* to dev_* calls to have device context info. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user