mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/amdgpu: drop some kernel messages in VCN code
Similar to commit 813e7d4cd0 where some kernel log
messages are dropped. With this commit, more log
messages in older version of VCN/JPEG code are dropped.
Acked-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
778e3979c5
commit
ee3942d9ab
@@ -191,7 +191,6 @@ static int jpeg_v4_0_5_hw_init(void *handle)
|
||||
|
||||
// TODO: Enable ring test with DPG support
|
||||
if (adev->pg_flags & AMD_PG_SUPPORT_JPEG_DPG) {
|
||||
DRM_DEV_INFO(adev->dev, "JPEG decode initialized successfully under DPG Mode");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -205,9 +204,6 @@ static int jpeg_v4_0_5_hw_init(void *handle)
|
||||
return r;
|
||||
}
|
||||
|
||||
if (!r)
|
||||
DRM_INFO("JPEG decode initialized successfully under SPG Mode\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -805,7 +801,6 @@ static void jpeg_v4_0_5_set_dec_ring_funcs(struct amdgpu_device *adev)
|
||||
|
||||
adev->jpeg.inst[i].ring_dec->funcs = &jpeg_v4_0_5_dec_ring_vm_funcs;
|
||||
adev->jpeg.inst[i].ring_dec->me = i;
|
||||
DRM_DEV_INFO(adev->dev, "JPEG%d decode is enabled in VM mode\n", i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user