OSDN Git Service

drm/amdgpu: fix DRM_INFO flood if display core is not supported (bug 210921)
authorAlexandre Demers <alexandre.f.demers@gmail.com>
Thu, 7 Jan 2021 23:53:03 +0000 (18:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Jan 2021 20:18:57 +0000 (15:18 -0500)
commit044a48f420b9d3c19a135b821c34de5b2bee4075
tree83cad82d1fb4c52f3aced1e17c9225c7e3748a1e
parent4928b480cbed50da28eba06bff7eec6a274a3914
drm/amdgpu: fix DRM_INFO flood if display core is not supported (bug 210921)

This fix bug 210921 where DRM_INFO floods log when hitting an unsupported ASIC in
amdgpu_device_asic_has_dc_support(). This info should be only called once.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=210921
Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c