-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/nouveau/disp: namespace + nvidia gpu names (no binary change)
The namespace of NVKM is being changed to nvkm_ instead of nouveau_, which will be used for the DRM part of the driver. This is being done in order to make it very clear as to what part of the driver a given symbol belongs to, and as a minor step towards splitting the DRM driver out to be able to stand on its own (for virt). Because there's already a large amount of churn here anyway, this is as good a time as any to also switch to NVIDIA's device and chipset naming to ease collaboration with them. A comparison of objdump disassemblies proves no code changes. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
- Loading branch information
Ben Skeggs
committed
Jan 22, 2015
1 parent
ccdfdf2
commit 878da15
Showing
42 changed files
with
1,055 additions
and
1,146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,32 @@ | ||
#ifndef __NOUVEAU_DISP_H__ | ||
#define __NOUVEAU_DISP_H__ | ||
|
||
#include <core/object.h> | ||
#ifndef __NVKM_DISP_H__ | ||
#define __NVKM_DISP_H__ | ||
#include <core/engine.h> | ||
#include <core/device.h> | ||
#include <core/event.h> | ||
|
||
struct nouveau_disp { | ||
struct nouveau_engine base; | ||
struct nvkm_disp { | ||
struct nvkm_engine base; | ||
|
||
struct list_head outp; | ||
|
||
struct nvkm_event hpd; | ||
struct nvkm_event vblank; | ||
}; | ||
|
||
static inline struct nouveau_disp * | ||
nouveau_disp(void *obj) | ||
static inline struct nvkm_disp * | ||
nvkm_disp(void *obj) | ||
{ | ||
return (void *)nouveau_engine(obj, NVDEV_ENGINE_DISP); | ||
return (void *)nvkm_engine(obj, NVDEV_ENGINE_DISP); | ||
} | ||
|
||
extern struct nouveau_oclass *nv04_disp_oclass; | ||
extern struct nouveau_oclass *nv50_disp_oclass; | ||
extern struct nouveau_oclass *nv84_disp_oclass; | ||
extern struct nouveau_oclass *nva0_disp_oclass; | ||
extern struct nouveau_oclass *nv94_disp_oclass; | ||
extern struct nouveau_oclass *nva3_disp_oclass; | ||
extern struct nouveau_oclass *nvd0_disp_oclass; | ||
extern struct nouveau_oclass *nve0_disp_oclass; | ||
extern struct nouveau_oclass *nvf0_disp_oclass; | ||
extern struct nouveau_oclass *gm107_disp_oclass; | ||
extern struct nouveau_oclass *gm204_disp_oclass; | ||
|
||
extern struct nvkm_oclass *nv04_disp_oclass; | ||
extern struct nvkm_oclass *nv50_disp_oclass; | ||
extern struct nvkm_oclass *g84_disp_oclass; | ||
extern struct nvkm_oclass *gt200_disp_oclass; | ||
extern struct nvkm_oclass *g94_disp_oclass; | ||
extern struct nvkm_oclass *gt215_disp_oclass; | ||
extern struct nvkm_oclass *gf110_disp_oclass; | ||
extern struct nvkm_oclass *gk104_disp_oclass; | ||
extern struct nvkm_oclass *gk110_disp_oclass; | ||
extern struct nvkm_oclass *gm107_disp_oclass; | ||
extern struct nvkm_oclass *gm204_disp_oclass; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.