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 | cc9428d5336aec746ffeb3d13ee2cf49756b157d (patch) | |
| tree | 63b9ccc9bf9225e76ffa04be82837cb740a27374 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | drm/amd/display: add proper error message for vblank init (diff) | |
| download | kernel-cc9428d5336aec746ffeb3d13ee2cf49756b157d.tar.gz kernel-cc9428d5336aec746ffeb3d13ee2cf49756b157d.zip | |
drm/amd/display: add proper error message for vblank init
v1 - DRM_ERROR to drm_err (Mario)
Update message to identifiy the vblank initialization fail case
Signed-off-by: Saleemkhan Jamadar <[email protected]>
Reviewed-by: Rodrigo Siqueira <[email protected]>
Reviewed-by: Mario Limonciello <[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 | 2 |
1 files changed, 1 insertions, 1 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 0e0e9039e011..8df93d23b723 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -2241,7 +2241,7 @@ 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)) { - dev_err(adev->dev, + drm_err(adev_to_drm(adev), "amdgpu: failed to initialize vblank sw for display support.\n"); goto error; } |
