[Public] Reviewed-by: Roman Li <[email protected]>
Please fix your authorship format as "First_name Last_name <[email protected]>" before merge. Thanks, Roman > -----Original Message----- > From: chengjya <[email protected]> > Sent: Wednesday, April 9, 2025 5:17 AM > To: Li, Roman <[email protected]>; [email protected]; Kaszewski, > Dominik <[email protected]>; Wheeler, Daniel > <[email protected]>; Lee, Alvin <[email protected]> > Cc: Deucher, Alexander <[email protected]>; Koenig, Christian > <[email protected]>; Zhou, Bob <[email protected]>; Yao, Chengjun > <[email protected]> > Subject: [PATCH] drm/amd/display: Fix drm_err argument type error > > The drm_err function expects a struct drm_device * pointer, so fix it. > > Fixes: af632d3f59e6 ("drm/amd/display: HDCP Locality check using DMUB Fused > IO") > Signed-off-by: chengjya <[email protected]> > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 5e6fdb0066b0..60d10d8cdf59 100755 > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > @@ -2300,7 +2300,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev) > > if (!register_dmub_notify_callback(adev, > DMUB_NOTIFICATION_FUSED_IO, > dmub_aux_fused_io_callback, false)) { > - drm_err(adev, "amdgpu: fail to register dmub fused io > callback"); > + drm_err(adev_to_drm(adev), "amdgpu: fail to register > dmub > fused io callback"); > goto error; > } > /* Enable outbox notification only after IRQ handlers are > registered > and DMUB is alive. > -- > 2.43.0
