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:
9963104
)
drm/amdgpu: add new DF callback for ECC setup
author
Alex Deucher
<
[email protected]
>
Thu, 10 May 2018 19:59:31 +0000
(14:59 -0500)
committer
Alex Deucher
<
[email protected]
>
Thu, 24 May 2018 04:51:21 +0000
(23:51 -0500)
The ForceParWrRMW setting needs to be enabled for ECC, but disabled
when ECC is not enabled.
Reviewed-by: Hawking Zhang <
[email protected]
>
Reviewed-by: Junwei Zhang <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 03a2c0be0bf23fbfcda38512c1e7a0ce0451bf74..a59c07590ceec2f314768066cbed28126ed68a6d 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@
-1401,6
+1401,8
@@
struct amdgpu_df_funcs {
bool enable);
void (*get_clockgating_state)(struct amdgpu_device *adev,
u32 *flags);
+ void (*enable_ecc_force_par_wr_rmw)(struct amdgpu_device *adev,
+ bool enable);
};
/* Define the HW IP blocks will be used in driver , add more if necessary */
enum amd_hw_ip_block_type {