mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 15:06:39 +07:00
drm/nouveau/core/gpuobj: remove embedded struct nvkm_object
nvkm_gpuobj hasn't subclassed nvkm_object in a long time. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
8e0042d505
commit
153b642fcb
@ -1,6 +1,5 @@
|
||||
#ifndef __NVKM_GPUOBJ_H__
|
||||
#define __NVKM_GPUOBJ_H__
|
||||
#include <core/object.h>
|
||||
#include <core/memory.h>
|
||||
#include <core/mm.h>
|
||||
struct nvkm_vma;
|
||||
@ -10,7 +9,6 @@ struct nvkm_vm;
|
||||
#define NVOBJ_FLAG_HEAP 0x00000004
|
||||
|
||||
struct nvkm_gpuobj {
|
||||
struct nvkm_object object;
|
||||
const struct nvkm_gpuobj_func *func;
|
||||
struct nvkm_gpuobj *parent;
|
||||
struct nvkm_memory *memory;
|
||||
|
@ -1,6 +1,7 @@
|
||||
#ifndef __NVKM_RAMHT_H__
|
||||
#define __NVKM_RAMHT_H__
|
||||
#include <core/gpuobj.h>
|
||||
struct nvkm_object;
|
||||
|
||||
struct nvkm_ramht_data {
|
||||
struct nvkm_gpuobj *inst;
|
||||
|
Loading…
Reference in New Issue
Block a user