Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
43 lines
775 B
C
43 lines
775 B
C
#ifndef __NVIF_IF0008_H__
|
|
#define __NVIF_IF0008_H__
|
|
struct nvif_mmu_v0 {
|
|
__u8 version;
|
|
__u8 dmabits;
|
|
__u8 heap_nr;
|
|
__u8 type_nr;
|
|
__u16 kind_nr;
|
|
};
|
|
|
|
#define NVIF_MMU_V0_HEAP 0x00
|
|
#define NVIF_MMU_V0_TYPE 0x01
|
|
#define NVIF_MMU_V0_KIND 0x02
|
|
|
|
struct nvif_mmu_heap_v0 {
|
|
__u8 version;
|
|
__u8 index;
|
|
__u8 pad02[6];
|
|
__u64 size;
|
|
};
|
|
|
|
struct nvif_mmu_type_v0 {
|
|
__u8 version;
|
|
__u8 index;
|
|
__u8 heap;
|
|
__u8 vram;
|
|
__u8 host;
|
|
__u8 comp;
|
|
__u8 disp;
|
|
__u8 kind;
|
|
__u8 mappable;
|
|
__u8 coherent;
|
|
__u8 uncached;
|
|
};
|
|
|
|
struct nvif_mmu_kind_v0 {
|
|
__u8 version;
|
|
__u8 kind_inv;
|
|
__u16 count;
|
|
__u8 data[];
|
|
};
|
|
#endif
|