Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu/gfx: simplify old firmware warning

Put it on one line to avoid whitespace issues when
printing in the log.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+2 -4
+1 -2
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
··· 576 576 } 577 577 578 578 if (adev->gfx.cp_fw_write_wait == false) 579 - DRM_WARN_ONCE("Warning: check cp_fw_version and update it to realize \ 580 - GRBM requires 1-cycle delay in cp firmware\n"); 579 + DRM_WARN_ONCE("CP firmware version too old, please update!"); 581 580 } 582 581 583 582
+1 -2
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
··· 988 988 (adev->gfx.mec_feature_version < 46) || 989 989 (adev->gfx.pfp_fw_version < 0x000000b7) || 990 990 (adev->gfx.pfp_feature_version < 46)) 991 - DRM_WARN_ONCE("Warning: check cp_fw_version and update it to realize \ 992 - GRBM requires 1-cycle delay in cp firmware\n"); 991 + DRM_WARN_ONCE("CP firmware version too old, please update!"); 993 992 994 993 switch (adev->asic_type) { 995 994 case CHIP_VEGA10: