diff options
| author | Saleemkhan Jamadar <[email protected]> | 2025-03-21 11:30:09 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-07 19:18:31 +0000 |
| commit | 43f668edae4a536f41c11d675ded958d9862a9a4 (patch) | |
| tree | bea29688ded8f60947cdfd6a8492e81fd2243c3b /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | drm/amdgpu/vcn: during dpc recovery will corrupt VCPU buffer (diff) | |
| download | kernel-43f668edae4a536f41c11d675ded958d9862a9a4.tar.gz kernel-43f668edae4a536f41c11d675ded958d9862a9a4.zip | |
drm/amd/display: add proper error message for vblank init
v1 - DRM_ERROR to dev_err (Mario)
Update message to identifiy the vblank initialization fail case
Signed-off-by: Saleemkhan Jamadar <[email protected]>
Reviewed-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
| -rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index 9fed4471405f..0e0e9039e011 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -2241,8 +2241,8 @@ static int amdgpu_dm_init(struct amdgpu_device *adev) adev_to_drm(adev)->mode_config.cursor_height = adev->dm.dc->caps.max_cursor_size; if (drm_vblank_init(adev_to_drm(adev), adev->dm.display_indexes_num)) { - DRM_ERROR( - "amdgpu: failed to initialize sw for display support.\n"); + dev_err(adev->dev, + "amdgpu: failed to initialize vblank sw for display support.\n"); goto error; } |
