drm/amdgpu/gfx: simplify old firmware warning
Subsystems (2)
PATCH 1/1 drm/amdgpu/gfx: simplify old firmware warning
Put it on one line to avoid whitespace issues when printing in the log.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 3 +-- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1 -2
@@ -577,8 +577,7 @@ static void gfx_v10_0_check_fw_write_wait(struct amdgpu_device *adev) }if (adev->gfx.cp_fw_write_wait == false) -DRM_WARN_ONCE ("Warning: check cp_fw_version and update it to realize \ -GRBM requires 1-cycle delay in cp firmware\n" ); +DRM_WARN_ONCE ("CP firmware version too old, please update!" ); }
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +1 -2
@@ -988,8 +988,7 @@ static void gfx_v9_0_check_fw_write_wait(struct amdgpu_device *adev) (adev->gfx.mec_feature_version < 46) || (adev->gfx.pfp_fw_version < 0x000000b7) || (adev->gfx.pfp_feature_version < 46)) -DRM_WARN_ONCE ("Warning: check cp_fw_version and update it to realize \ -GRBM requires 1-cycle delay in cp firmware\n" ); +DRM_WARN_ONCE ("CP firmware version too old, please update!" );switch (adev->asic_type) {case CHIP_VEGA10 :
Signature · 6 lines
2.24.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Am 06.01.20 um 20:58 schrieb Alex Deucher:
Quoted 4 lines
Put it on one line to avoid whitespace issues when printing in the log.
Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Christian König <[email protected]>
Quoted 24 lines
--- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 3 +-- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1
-2@@ -577,8 +577,7 @@ static void gfx_v10_0_check_fw_write_wait(struct amdgpu_device *adev) }if (adev->gfx.cp_fw_write_wait == false) -DRM_WARN_ONCE ("Warning: check cp_fw_version and update it to realize \ -GRBM requires 1-cycle delay in cp firmware\n" ); +DRM_WARN_ONCE ("CP firmware version too old, please update!" ); }drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0
-0
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c static void gfx_v9_0_check_fw_write_wait(struct amdgpu_device *adev) · line 994
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +1
-2@@ -988,8 +988,7 @@ static void gfx_v9_0_check_fw_write_wait(struct amdgpu_device *adev) (adev->gfx.mec_feature_version < 46) || (adev->gfx.pfp_fw_version < 0x000000b7) || (adev->gfx.pfp_feature_version < 46)) -DRM_WARN_ONCE ("Warning: check cp_fw_version and update it to realize \ -GRBM requires 1-cycle delay in cp firmware\n" ); +DRM_WARN_ONCE ("CP firmware version too old, please update!" );switch (adev->asic_type) {case CHIP_VEGA10 :
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx