We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be6407a commit 128a6fcCopy full SHA for 128a6fc
1 file changed
drivers/gpu/drm/asahi/pgtable.rs
@@ -138,11 +138,11 @@ pub(crate) mod prot {
138
/// Firmware-RW/GPU-RO shared (private) RW
139
pub(crate) const PROT_GPU_RO_FW_PRIV_RW: Prot = PROT_FW_RW_GPU_RO.memattr(MEMATTR_CACHED);
140
/// GPU shared/coherent RW
141
- pub(crate) const PROT_GPU_SHARED_RW: Prot = PROT_GPU_RW;
+ pub(crate) const PROT_GPU_SHARED_RW: Prot = PROT_GPU_RW.memattr(MEMATTR_UNCACHED);
142
/// GPU shared/coherent RO
143
- pub(crate) const PROT_GPU_SHARED_RO: Prot = PROT_GPU_RO;
+ pub(crate) const PROT_GPU_SHARED_RO: Prot = PROT_GPU_RO.memattr(MEMATTR_UNCACHED);
144
/// GPU shared/coherent WO
145
- pub(crate) const PROT_GPU_SHARED_WO: Prot = PROT_GPU_WO;
+ pub(crate) const PROT_GPU_SHARED_WO: Prot = PROT_GPU_WO.memattr(MEMATTR_UNCACHED);
146
}
147
148
impl Prot {
0 commit comments