Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/tyr: rename pad0 to selected_coherency

This applies the uapi change in commit ea78ec982653 ("drm/panthor:
Expose the selected coherency protocol to the UMD") to the Tyr driver as
well.

Once this is merged with drm-rust-next, this kind of change to the uapi
struct is automatically reflected in the Tyr driver's GpuInfo. [1]

Link: https://lore.kernel.org/r/aW8-oH7dtp-OTAZC@google.com [1]
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260120-tyr-pad0-coherency-v1-1-91f40e56c67a@google.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>

+3 -2
+3 -2
drivers/gpu/drm/tyr/gpu.rs
··· 8 8 use kernel::prelude::*; 9 9 use kernel::time; 10 10 use kernel::transmute::AsBytes; 11 + use kernel::uapi; 11 12 12 13 use crate::driver::IoMem; 13 14 use crate::regs; ··· 35 34 pub(crate) coherency_features: u32, 36 35 pub(crate) texture_features: [u32; 4], 37 36 pub(crate) as_present: u32, 38 - pub(crate) pad0: u32, 37 + pub(crate) selected_coherency: u32, 39 38 pub(crate) shader_present: u64, 40 39 pub(crate) l2_present: u64, 41 40 pub(crate) tiler_present: u64, ··· 90 89 // TODO: Add texture_features_{1,2,3}. 91 90 texture_features: [texture_features, 0, 0, 0], 92 91 as_present, 93 - pad0: 0, 92 + selected_coherency: uapi::drm_panthor_gpu_coherency_DRM_PANTHOR_GPU_COHERENCY_NONE, 94 93 shader_present, 95 94 l2_present, 96 95 tiler_present,