diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-09-06 13:54:38 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-09-11 18:19:03 -0400 |
commit | 81cc8779cf46d6323c83475706b61d9552230274 (patch) | |
tree | e4ba4f0625dc08aa793f3c80b51f76450ce26d4e /scripts/gdb/linux/modules.py | |
parent | 679fc891bf11845730b572fc44f8a0eb846aba29 (diff) |
drm/amdgpu: fix retry loop test
This loop will exit with "retry" set to -1 if it fails but the code
checks for if "retry" is zero. Fix this by changing post-op to a
pre-op. --retry vs retry--.
Fixes: e01eeffc3f86 ("drm/amd/pm: avoid driver getting empty metrics table for the first time")
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions