diff options
author | 2025-03-21 17:00:09 +0530 | |
---|---|---|
committer | 2025-04-07 15:18:31 -0400 | |
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 | linux-rng-43f668edae4a536f41c11d675ded958d9862a9a4.tar.xz linux-rng-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 <saleemkhan.jamadar@amd.com>
Reviewed-by: Rodrigo Siqueira <siqueira@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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; } |