projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f89fe
)
drm/amd/amdgpu: Fix psp_v3_1 compare sram
author
Tom St Denis
<tom.stdenis@amd.com>
Tue, 4 Apr 2017 15:36:20 +0000
(11:36 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 6 Apr 2017 17:27:18 +0000
(13:27 -0400)
Had the wrong sense in the loop
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
b/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
index 5191c45ffdf30a62f5bd3b3150c717ee5a89ce2f..0900fdf0651b70acbe65b73f59861822c060ee53 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
+++ b/
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
@@
-491,7
+491,7
@@
bool psp_v3_1_compare_sram_data(struct psp_context *psp,
ucode_size = ucode->ucode_size;
ucode_mem = (uint32_t *)ucode->kaddr;
- while (
!
ucode_size) {
+ while (ucode_size) {
fw_sram_reg_val = RREG32(fw_sram_data_reg_offset);
if (*ucode_mem != fw_sram_reg_val)