drm/nouveau: restructure source tree, split core from drm implementation
Future work will be headed in the way of separating the policy supplied by the nouveau drm module from the mechanisms provided by the driver core. There will be a couple of major classes (subdev, engine) of driver modules that have clearly defined tasks, and the further directory structure change is to reflect this. No code changes here whatsoever, aside from fixing up a couple of include file pathnames. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
3a92d37e40
commit
02a841d434
@ -3,45 +3,87 @@
|
|||||||
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
|
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
|
||||||
|
|
||||||
ccflags-y := -Iinclude/drm
|
ccflags-y := -Iinclude/drm
|
||||||
nouveau-y := nouveau_drv.o nouveau_state.o nouveau_channel.o nouveau_mem.o \
|
ccflags-y += -I$(src)/core/include
|
||||||
|
ccflags-y += -I$(src)
|
||||||
|
|
||||||
|
nouveau-y := core/core/mm.o
|
||||||
|
nouveau-y += core/core/ramht.o
|
||||||
|
|
||||||
|
nouveau-y += core/subdev/fb/nv04.o
|
||||||
|
nouveau-y += core/subdev/fb/nv10.o
|
||||||
|
nouveau-y += core/subdev/fb/nv20.o
|
||||||
|
nouveau-y += core/subdev/fb/nv30.o
|
||||||
|
nouveau-y += core/subdev/fb/nv40.o
|
||||||
|
nouveau-y += core/subdev/fb/nv50.o
|
||||||
|
nouveau-y += core/subdev/fb/nvc0.o
|
||||||
|
nouveau-y += core/subdev/fb/nv50_vram.o
|
||||||
|
nouveau-y += core/subdev/fb/nvc0_vram.o
|
||||||
|
nouveau-y += core/subdev/gpio/base.o
|
||||||
|
nouveau-y += core/subdev/gpio/nv10.o
|
||||||
|
nouveau-y += core/subdev/gpio/nv50.o
|
||||||
|
nouveau-y += core/subdev/i2c/base.o
|
||||||
|
nouveau-y += core/subdev/instmem/nv04.o
|
||||||
|
nouveau-y += core/subdev/instmem/nv50.o
|
||||||
|
nouveau-y += core/subdev/instmem/nvc0.o
|
||||||
|
nouveau-y += core/subdev/mc/nv04.o
|
||||||
|
nouveau-y += core/subdev/mc/nv40.o
|
||||||
|
nouveau-y += core/subdev/mc/nv50.o
|
||||||
|
nouveau-y += core/subdev/timer/nv04.o
|
||||||
|
nouveau-y += core/subdev/vm/base.o
|
||||||
|
nouveau-y += core/subdev/vm/nv50.o
|
||||||
|
nouveau-y += core/subdev/vm/nvc0.o
|
||||||
|
|
||||||
|
nouveau-y += core/engine/bsp/nv84.o
|
||||||
|
nouveau-y += core/engine/copy/nva3.o
|
||||||
|
nouveau-y += core/engine/copy/nvc0.o
|
||||||
|
nouveau-y += core/engine/crypt/nv84.o
|
||||||
|
nouveau-y += core/engine/crypt/nv98.o
|
||||||
|
nouveau-y += core/engine/fifo/nv04.o
|
||||||
|
nouveau-y += core/engine/fifo/nv10.o
|
||||||
|
nouveau-y += core/engine/fifo/nv17.o
|
||||||
|
nouveau-y += core/engine/fifo/nv40.o
|
||||||
|
nouveau-y += core/engine/fifo/nv50.o
|
||||||
|
nouveau-y += core/engine/fifo/nv84.o
|
||||||
|
nouveau-y += core/engine/fifo/nvc0.o
|
||||||
|
nouveau-y += core/engine/fifo/nve0.o
|
||||||
|
nouveau-y += core/engine/graph/ctxnv40.o
|
||||||
|
nouveau-y += core/engine/graph/ctxnv50.o
|
||||||
|
nouveau-y += core/engine/graph/ctxnvc0.o
|
||||||
|
nouveau-y += core/engine/graph/ctxnve0.o
|
||||||
|
nouveau-y += core/engine/graph/nv04.o
|
||||||
|
nouveau-y += core/engine/graph/nv10.o
|
||||||
|
nouveau-y += core/engine/graph/nv20.o
|
||||||
|
nouveau-y += core/engine/graph/nv40.o
|
||||||
|
nouveau-y += core/engine/graph/nv50.o
|
||||||
|
nouveau-y += core/engine/graph/nvc0.o
|
||||||
|
nouveau-y += core/engine/graph/nve0.o
|
||||||
|
nouveau-y += core/engine/mpeg/nv31.o
|
||||||
|
nouveau-y += core/engine/mpeg/nv50.o
|
||||||
|
nouveau-y += core/engine/ppp/nv98.o
|
||||||
|
nouveau-y += core/engine/vp/nv84.o
|
||||||
|
|
||||||
|
nouveau-y += nouveau_drv.o nouveau_state.o nouveau_channel.o nouveau_mem.o \
|
||||||
nouveau_gpuobj.o nouveau_irq.o nouveau_notifier.o \
|
nouveau_gpuobj.o nouveau_irq.o nouveau_notifier.o \
|
||||||
nouveau_sgdma.o nouveau_dma.o nouveau_util.o \
|
nouveau_sgdma.o nouveau_dma.o nouveau_util.o \
|
||||||
nouveau_bo.o nouveau_fence.o nouveau_gem.o nouveau_ttm.o \
|
nouveau_bo.o nouveau_fence.o nouveau_gem.o nouveau_ttm.o \
|
||||||
nouveau_hw.o nouveau_calc.o nouveau_bios.o nouveau_i2c.o \
|
nouveau_hw.o nouveau_calc.o \
|
||||||
nouveau_display.o nouveau_connector.o nouveau_fbcon.o \
|
nouveau_display.o nouveau_connector.o nouveau_fbcon.o \
|
||||||
nouveau_hdmi.o nouveau_dp.o nouveau_ramht.o \
|
nouveau_hdmi.o nouveau_dp.o \
|
||||||
nouveau_pm.o nouveau_volt.o nouveau_perf.o nouveau_temp.o \
|
nouveau_pm.o nouveau_volt.o nouveau_perf.o nouveau_temp.o \
|
||||||
nouveau_mm.o nouveau_vm.o nouveau_mxm.o nouveau_gpio.o \
|
nouveau_mxm.o \
|
||||||
nouveau_abi16.o \
|
nouveau_abi16.o \
|
||||||
nv04_timer.o \
|
nouveau_bios.o \
|
||||||
nv04_mc.o nv40_mc.o nv50_mc.o \
|
|
||||||
nv04_fb.o nv10_fb.o nv20_fb.o nv30_fb.o nv40_fb.o \
|
|
||||||
nv50_fb.o nvc0_fb.o \
|
|
||||||
nv04_fifo.o nv10_fifo.o nv17_fifo.o nv40_fifo.o nv50_fifo.o \
|
|
||||||
nv84_fifo.o nvc0_fifo.o nve0_fifo.o \
|
|
||||||
nv04_fence.o nv10_fence.o nv84_fence.o nvc0_fence.o \
|
nv04_fence.o nv10_fence.o nv84_fence.o nvc0_fence.o \
|
||||||
nv04_software.o nv50_software.o nvc0_software.o \
|
nv04_software.o nv50_software.o nvc0_software.o \
|
||||||
nv04_graph.o nv10_graph.o nv20_graph.o \
|
|
||||||
nv40_graph.o nv50_graph.o nvc0_graph.o nve0_graph.o \
|
|
||||||
nv40_grctx.o nv50_grctx.o nvc0_grctx.o nve0_grctx.o \
|
|
||||||
nv84_crypt.o nv98_crypt.o \
|
|
||||||
nva3_copy.o nvc0_copy.o \
|
|
||||||
nv31_mpeg.o nv50_mpeg.o \
|
|
||||||
nv84_bsp.o \
|
|
||||||
nv84_vp.o \
|
|
||||||
nv98_ppp.o \
|
|
||||||
nv04_instmem.o nv50_instmem.o nvc0_instmem.o \
|
|
||||||
nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o \
|
nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o \
|
||||||
nv04_crtc.o nv04_display.o nv04_cursor.o \
|
nv04_crtc.o nv04_display.o nv04_cursor.o \
|
||||||
nv50_evo.o nv50_crtc.o nv50_dac.o nv50_sor.o \
|
nv50_evo.o nv50_crtc.o nv50_dac.o nv50_sor.o \
|
||||||
nv50_cursor.o nv50_display.o \
|
nv50_cursor.o nv50_display.o \
|
||||||
nvd0_display.o \
|
nvd0_display.o \
|
||||||
nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o \
|
nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o \
|
||||||
nv10_gpio.o nv50_gpio.o \
|
|
||||||
nv50_calc.o \
|
nv50_calc.o \
|
||||||
nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o \
|
nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o \
|
||||||
nv50_vram.o nvc0_vram.o \
|
nouveau_prime.o
|
||||||
nv50_vm.o nvc0_vm.o nouveau_prime.o
|
|
||||||
|
|
||||||
nouveau-$(CONFIG_DRM_NOUVEAU_DEBUG) += nouveau_debugfs.o
|
nouveau-$(CONFIG_DRM_NOUVEAU_DEBUG) += nouveau_debugfs.o
|
||||||
nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
|
nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
region_put(struct nouveau_mm *mm, struct nouveau_mm_node *a)
|
region_put(struct nouveau_mm *mm, struct nouveau_mm_node *a)
|
@ -25,7 +25,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
static u32
|
static u32
|
||||||
nouveau_ramht_hash_handle(struct nouveau_channel *chan, u32 handle)
|
nouveau_ramht_hash_handle(struct nouveau_channel *chan, u32 handle)
|
@ -25,8 +25,8 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
/*XXX: This stub is currently used on NV98+ also, as soon as this becomes
|
/*XXX: This stub is currently used on NV98+ also, as soon as this becomes
|
||||||
* more than just an enable/disable stub this needs to be split out to
|
* more than just an enable/disable stub this needs to be split out to
|
@ -26,9 +26,9 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nva3_copy.fuc.h"
|
#include "fuc/nva3.fuc.h"
|
||||||
|
|
||||||
struct nva3_copy_engine {
|
struct nva3_copy_engine {
|
||||||
struct nouveau_exec_engine base;
|
struct nouveau_exec_engine base;
|
@ -26,9 +26,9 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nvc0_copy.fuc.h"
|
#include "fuc/nvc0.fuc.h"
|
||||||
|
|
||||||
struct nvc0_copy_engine {
|
struct nvc0_copy_engine {
|
||||||
struct nouveau_exec_engine base;
|
struct nouveau_exec_engine base;
|
@ -25,8 +25,8 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
struct nv84_crypt_engine {
|
struct nv84_crypt_engine {
|
||||||
struct nouveau_exec_engine base;
|
struct nouveau_exec_engine base;
|
@ -26,10 +26,10 @@
|
|||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
#include "nv98_crypt.fuc.h"
|
#include "fuc/nv98.fuc.h"
|
||||||
|
|
||||||
struct nv98_crypt_priv {
|
struct nv98_crypt_priv {
|
||||||
struct nouveau_exec_engine base;
|
struct nouveau_exec_engine base;
|
@ -27,9 +27,9 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_software.h"
|
#include "nouveau_software.h"
|
||||||
|
|
||||||
static struct ramfc_desc {
|
static struct ramfc_desc {
|
@ -27,9 +27,9 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
static struct ramfc_desc {
|
static struct ramfc_desc {
|
||||||
unsigned bits:6;
|
unsigned bits:6;
|
@ -27,9 +27,9 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
static struct ramfc_desc {
|
static struct ramfc_desc {
|
||||||
unsigned bits:6;
|
unsigned bits:6;
|
@ -27,9 +27,9 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
static struct ramfc_desc {
|
static struct ramfc_desc {
|
||||||
unsigned bits:6;
|
unsigned bits:6;
|
@ -27,9 +27,9 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
|
|
||||||
struct nv50_fifo_priv {
|
struct nv50_fifo_priv {
|
||||||
struct nouveau_fifo_priv base;
|
struct nouveau_fifo_priv base;
|
@ -27,9 +27,9 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
|
|
||||||
struct nv84_fifo_priv {
|
struct nv84_fifo_priv {
|
||||||
struct nouveau_fifo_priv base;
|
struct nouveau_fifo_priv base;
|
@ -25,8 +25,8 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
|
|
||||||
static void nvc0_fifo_isr(struct drm_device *);
|
static void nvc0_fifo_isr(struct drm_device *);
|
||||||
|
|
@ -25,8 +25,8 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
|
|
||||||
#define NVE0_FIFO_ENGINE_NUM 32
|
#define NVE0_FIFO_ENGINE_NUM 32
|
||||||
|
|
@ -111,7 +111,7 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_grctx.h"
|
#include "ctx.h"
|
||||||
|
|
||||||
/* TODO:
|
/* TODO:
|
||||||
* - get vs count from 0x1540
|
* - get vs count from 0x1540
|
@ -107,7 +107,7 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_grctx.h"
|
#include "ctx.h"
|
||||||
|
|
||||||
#define IS_NVA3F(x) (((x) > 0xa0 && (x) < 0xaa) || (x) == 0xaf)
|
#define IS_NVA3F(x) (((x) > 0xa0 && (x) < 0xaa) || (x) == 0xaf)
|
||||||
#define IS_NVAAF(x) ((x) >= 0xaa && (x) <= 0xac)
|
#define IS_NVAAF(x) ((x) >= 0xaa && (x) <= 0xac)
|
@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
#include "nvc0_graph.h"
|
#include "nvc0.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nv_icmd(struct drm_device *dev, u32 icmd, u32 data)
|
nv_icmd(struct drm_device *dev, u32 icmd, u32 data)
|
@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
#include "nve0_graph.h"
|
#include "nve0.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nv_icmd(struct drm_device *dev, u32 icmd, u32 data)
|
nv_icmd(struct drm_device *dev, u32 icmd, u32 data)
|
@ -28,7 +28,7 @@
|
|||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_hw.h"
|
#include "nouveau_hw.h"
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
struct nv04_graph_engine {
|
struct nv04_graph_engine {
|
||||||
struct nouveau_exec_engine base;
|
struct nouveau_exec_engine base;
|
@ -27,8 +27,8 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
struct nv40_graph_engine {
|
struct nv40_graph_engine {
|
||||||
struct nouveau_exec_engine base;
|
struct nouveau_exec_engine base;
|
@ -27,10 +27,10 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_dma.h"
|
#include "nouveau_dma.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
#include "nv50_evo.h"
|
#include "nv50_evo.h"
|
||||||
|
|
||||||
struct nv50_graph_engine {
|
struct nv50_graph_engine {
|
@ -28,12 +28,12 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
|
|
||||||
#include "nvc0_graph.h"
|
#include "nvc0.h"
|
||||||
#include "nvc0_grhub.fuc.h"
|
#include "fuc/hubnvc0.fuc.h"
|
||||||
#include "nvc0_grgpc.fuc.h"
|
#include "fuc/gpcnvc0.fuc.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nvc0_graph_ctxctl_debug_unit(struct drm_device *dev, u32 base)
|
nvc0_graph_ctxctl_debug_unit(struct drm_device *dev, u32 base)
|
@ -28,10 +28,10 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
|
|
||||||
#include "nve0_graph.h"
|
#include "nve0.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nve0_graph_ctxctl_debug_unit(struct drm_device *dev, u32 base)
|
nve0_graph_ctxctl_debug_unit(struct drm_device *dev, u32 base)
|
@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
struct nv31_mpeg_engine {
|
struct nv31_mpeg_engine {
|
||||||
struct nouveau_exec_engine base;
|
struct nouveau_exec_engine base;
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
struct nv50_mpeg_engine {
|
struct nv50_mpeg_engine {
|
||||||
struct nouveau_exec_engine base;
|
struct nouveau_exec_engine base;
|
@ -25,8 +25,8 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
struct nv98_ppp_engine {
|
struct nv98_ppp_engine {
|
||||||
struct nouveau_exec_engine base;
|
struct nouveau_exec_engine base;
|
@ -25,8 +25,8 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
/*XXX: This stub is currently used on NV98+ also, as soon as this becomes
|
/*XXX: This stub is currently used on NV98+ also, as soon as this becomes
|
||||||
* more than just an enable/disable stub this needs to be split out to
|
* more than just an enable/disable stub this needs to be split out to
|
@ -52,16 +52,4 @@ int nouveau_mm_get(struct nouveau_mm *, int type, u32 size, u32 size_nc,
|
|||||||
u32 align, struct nouveau_mm_node **);
|
u32 align, struct nouveau_mm_node **);
|
||||||
void nouveau_mm_put(struct nouveau_mm *, struct nouveau_mm_node *);
|
void nouveau_mm_put(struct nouveau_mm *, struct nouveau_mm_node *);
|
||||||
|
|
||||||
int nv50_vram_init(struct drm_device *);
|
|
||||||
void nv50_vram_fini(struct drm_device *);
|
|
||||||
int nv50_vram_new(struct drm_device *, u64 size, u32 align, u32 size_nc,
|
|
||||||
u32 memtype, struct nouveau_mem **);
|
|
||||||
void nv50_vram_del(struct drm_device *, struct nouveau_mem **);
|
|
||||||
bool nv50_vram_flags_valid(struct drm_device *, u32 tile_flags);
|
|
||||||
|
|
||||||
int nvc0_vram_init(struct drm_device *);
|
|
||||||
int nvc0_vram_new(struct drm_device *, u64 size, u32 align, u32 ncmin,
|
|
||||||
u32 memtype, struct nouveau_mem **);
|
|
||||||
bool nvc0_vram_flags_valid(struct drm_device *, u32 tile_flags);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
@ -28,7 +28,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
|
|
||||||
struct nouveau_vm_pgt {
|
struct nouveau_vm_pgt {
|
||||||
struct nouveau_gpuobj *obj[2];
|
struct nouveau_gpuobj *obj[2];
|
@ -2,7 +2,7 @@
|
|||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_drm.h"
|
#include "nouveau_drm.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
|
|
||||||
struct nv50_fb_priv {
|
struct nv50_fb_priv {
|
||||||
struct page *r100c08_page;
|
struct page *r100c08_page;
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
|
|
||||||
static int types[0x80] = {
|
static int types[0x80] = {
|
||||||
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
|
|
||||||
/* 0 = unsupported
|
/* 0 = unsupported
|
||||||
* 1 = non-compressed
|
* 1 = non-compressed
|
@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_i2c.h"
|
#include <subdev/i2c.h>
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
|
|
||||||
static u8 *
|
static u8 *
|
||||||
dcb_gpio_table(struct drm_device *dev)
|
dcb_gpio_table(struct drm_device *dev)
|
@ -27,7 +27,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_hw.h"
|
#include "nouveau_hw.h"
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
nv10_gpio_sense(struct drm_device *dev, int line)
|
nv10_gpio_sense(struct drm_device *dev, int line)
|
@ -26,7 +26,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_hw.h"
|
#include "nouveau_hw.h"
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
|
|
||||||
#include "nv50_display.h"
|
#include "nv50_display.h"
|
||||||
|
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_i2c.h"
|
#include <subdev/i2c.h>
|
||||||
#include "nouveau_hw.h"
|
#include "nouveau_hw.h"
|
||||||
|
|
||||||
static void
|
static void
|
@ -2,8 +2,8 @@
|
|||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
/* returns the size of fifo context */
|
/* returns the size of fifo context */
|
||||||
static int
|
static int
|
@ -29,7 +29,7 @@
|
|||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
|
|
||||||
#define BAR1_VM_BASE 0x0020000000ULL
|
#define BAR1_VM_BASE 0x0020000000ULL
|
||||||
#define BAR1_VM_SIZE pci_resource_len(dev->pdev, 1)
|
#define BAR1_VM_SIZE pci_resource_len(dev->pdev, 1)
|
||||||
@ -425,4 +425,3 @@ nv84_instmem_flush(struct drm_device *dev)
|
|||||||
NV_ERROR(dev, "PRAMIN flush timeout\n");
|
NV_ERROR(dev, "PRAMIN flush timeout\n");
|
||||||
spin_unlock_irqrestore(&dev_priv->vm_lock, flags);
|
spin_unlock_irqrestore(&dev_priv->vm_lock, flags);
|
||||||
}
|
}
|
||||||
|
|
@ -25,7 +25,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
|
|
||||||
struct nvc0_instmem_priv {
|
struct nvc0_instmem_priv {
|
||||||
struct nouveau_gpuobj *bar1_pgd;
|
struct nouveau_gpuobj *bar1_pgd;
|
||||||
@ -220,4 +220,3 @@ nvc0_instmem_takedown(struct drm_device *dev)
|
|||||||
dev_priv->engine.instmem.priv = NULL;
|
dev_priv->engine.instmem.priv = NULL;
|
||||||
kfree(priv);
|
kfree(priv);
|
||||||
}
|
}
|
||||||
|
|
@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
nouveau_vm_map_at(struct nouveau_vma *vma, u64 delta, struct nouveau_mem *node)
|
nouveau_vm_map_at(struct nouveau_vma *vma, u64 delta, struct nouveau_mem *node)
|
@ -25,7 +25,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
nv50_vm_map_pgt(struct nouveau_gpuobj *pgd, u32 pde,
|
nv50_vm_map_pgt(struct nouveau_gpuobj *pgd, u32 pde,
|
@ -25,7 +25,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
nvc0_vm_map_pgt(struct nouveau_gpuobj *pgd, u32 index,
|
nvc0_vm_map_pgt(struct nouveau_gpuobj *pgd, u32 index,
|
@ -26,7 +26,7 @@
|
|||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_dma.h"
|
#include "nouveau_dma.h"
|
||||||
#include "nouveau_abi16.h"
|
#include "nouveau_abi16.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_software.h"
|
#include "nouveau_software.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_hw.h"
|
#include "nouveau_hw.h"
|
||||||
#include "nouveau_encoder.h"
|
#include "nouveau_encoder.h"
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
|
|
||||||
#include <linux/io-mapping.h>
|
#include <linux/io-mapping.h>
|
||||||
#include <linux/firmware.h>
|
#include <linux/firmware.h>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#define __NOUVEAU_BIOS_H__
|
#define __NOUVEAU_BIOS_H__
|
||||||
|
|
||||||
#include "nvreg.h"
|
#include "nvreg.h"
|
||||||
#include "nouveau_i2c.h"
|
#include <subdev/i2c.h>
|
||||||
|
|
||||||
#define DCB_MAX_NUM_ENTRIES 16
|
#define DCB_MAX_NUM_ENTRIES 16
|
||||||
#define DCB_MAX_NUM_I2C_ENTRIES 16
|
#define DCB_MAX_NUM_I2C_ENTRIES 16
|
||||||
|
@ -33,10 +33,10 @@
|
|||||||
#include "nouveau_drm.h"
|
#include "nouveau_drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_dma.h"
|
#include "nouveau_dma.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
#include "nouveau_fence.h"
|
#include "nouveau_fence.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
#include <linux/log2.h>
|
#include <linux/log2.h>
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_drm.h"
|
#include "nouveau_drm.h"
|
||||||
#include "nouveau_dma.h"
|
#include "nouveau_dma.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_fence.h"
|
#include "nouveau_fence.h"
|
||||||
#include "nouveau_software.h"
|
#include "nouveau_software.h"
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#include "nouveau_encoder.h"
|
#include "nouveau_encoder.h"
|
||||||
#include "nouveau_crtc.h"
|
#include "nouveau_crtc.h"
|
||||||
#include "nouveau_connector.h"
|
#include "nouveau_connector.h"
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
#include "nouveau_hw.h"
|
#include "nouveau_hw.h"
|
||||||
|
|
||||||
static void nouveau_connector_hotplug(void *, int);
|
static void nouveau_connector_hotplug(void *, int);
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#define __NOUVEAU_CONNECTOR_H__
|
#define __NOUVEAU_CONNECTOR_H__
|
||||||
|
|
||||||
#include "drm_edid.h"
|
#include "drm_edid.h"
|
||||||
#include "nouveau_i2c.h"
|
#include <subdev/i2c.h>
|
||||||
|
|
||||||
enum nouveau_underscan_type {
|
enum nouveau_underscan_type {
|
||||||
UNDERSCAN_OFF,
|
UNDERSCAN_OFF,
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include "nouveau_dma.h"
|
#include "nouveau_dma.h"
|
||||||
#include "nouveau_connector.h"
|
#include "nouveau_connector.h"
|
||||||
#include "nouveau_software.h"
|
#include "nouveau_software.h"
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
#include "nouveau_fence.h"
|
#include "nouveau_fence.h"
|
||||||
#include "nv50_display.h"
|
#include "nv50_display.h"
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_dma.h"
|
#include "nouveau_dma.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
nouveau_dma_init(struct nouveau_channel *chan)
|
nouveau_dma_init(struct nouveau_channel *chan)
|
||||||
|
@ -25,11 +25,11 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_i2c.h"
|
#include <subdev/i2c.h>
|
||||||
#include "nouveau_connector.h"
|
#include "nouveau_connector.h"
|
||||||
#include "nouveau_encoder.h"
|
#include "nouveau_encoder.h"
|
||||||
#include "nouveau_crtc.h"
|
#include "nouveau_crtc.h"
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* aux channel util functions
|
* aux channel util functions
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include "nouveau_fb.h"
|
#include "nouveau_fb.h"
|
||||||
#include "nouveau_fbcon.h"
|
#include "nouveau_fbcon.h"
|
||||||
#include "nouveau_pm.h"
|
#include "nouveau_pm.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nv50_display.h"
|
#include "nv50_display.h"
|
||||||
|
|
||||||
#include "drm_pciids.h"
|
#include "drm_pciids.h"
|
||||||
|
@ -61,12 +61,12 @@ nouveau_fpriv(struct drm_file *file_priv)
|
|||||||
|
|
||||||
#include "nouveau_drm.h"
|
#include "nouveau_drm.h"
|
||||||
#include "nouveau_reg.h"
|
#include "nouveau_reg.h"
|
||||||
#include "nouveau_bios.h"
|
#include <nouveau_bios.h>
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
|
|
||||||
struct nouveau_grctx;
|
struct nouveau_grctx;
|
||||||
struct nouveau_mem;
|
struct nouveau_mem;
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
|
|
||||||
#define MAX_NUM_DCB_ENTRIES 16
|
#define MAX_NUM_DCB_ENTRIES 16
|
||||||
|
|
||||||
@ -1607,6 +1607,18 @@ nv44_graph_class(struct drm_device *dev)
|
|||||||
return !(0x0baf & (1 << (dev_priv->chipset & 0x0f)));
|
return !(0x0baf & (1 << (dev_priv->chipset & 0x0f)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int nv50_vram_init(struct drm_device *);
|
||||||
|
void nv50_vram_fini(struct drm_device *);
|
||||||
|
int nv50_vram_new(struct drm_device *, u64 size, u32 align, u32 size_nc,
|
||||||
|
u32 memtype, struct nouveau_mem **);
|
||||||
|
void nv50_vram_del(struct drm_device *, struct nouveau_mem **);
|
||||||
|
bool nv50_vram_flags_valid(struct drm_device *, u32 tile_flags);
|
||||||
|
|
||||||
|
int nvc0_vram_init(struct drm_device *);
|
||||||
|
int nvc0_vram_new(struct drm_device *, u64 size, u32 align, u32 ncmin,
|
||||||
|
u32 memtype, struct nouveau_mem **);
|
||||||
|
bool nvc0_vram_flags_valid(struct drm_device *, u32 tile_flags);
|
||||||
|
|
||||||
/* memory type/access flags, do not match hardware values */
|
/* memory type/access flags, do not match hardware values */
|
||||||
#define NV_MEM_ACCESS_RO 1
|
#define NV_MEM_ACCESS_RO 1
|
||||||
#define NV_MEM_ACCESS_WO 2
|
#define NV_MEM_ACCESS_WO 2
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#include <linux/hrtimer.h>
|
#include <linux/hrtimer.h>
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_fence.h"
|
#include "nouveau_fence.h"
|
||||||
#include "nouveau_software.h"
|
#include "nouveau_software.h"
|
||||||
#include "nouveau_dma.h"
|
#include "nouveau_dma.h"
|
||||||
|
@ -34,10 +34,10 @@
|
|||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_drm.h"
|
#include "nouveau_drm.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_software.h"
|
#include "nouveau_software.h"
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
|
|
||||||
struct nouveau_gpuobj_method {
|
struct nouveau_gpuobj_method {
|
||||||
struct list_head head;
|
struct list_head head;
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#include "nouveau_drm.h"
|
#include "nouveau_drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_reg.h"
|
#include "nouveau_reg.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_util.h"
|
#include "nouveau_util.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -37,9 +37,9 @@
|
|||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_pm.h"
|
#include "nouveau_pm.h"
|
||||||
#include "nouveau_mm.h"
|
#include <core/mm.h>
|
||||||
#include "nouveau_vm.h"
|
#include <subdev/vm.h>
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_fence.h"
|
#include "nouveau_fence.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
nouveau_notifier_init_channel(struct nouveau_channel *chan)
|
nouveau_notifier_init_channel(struct nouveau_channel *chan)
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_pm.h"
|
#include "nouveau_pm.h"
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
|
|
||||||
#ifdef CONFIG_ACPI
|
#ifdef CONFIG_ACPI
|
||||||
#include <linux/acpi.h>
|
#include <linux/acpi.h>
|
||||||
|
@ -35,11 +35,11 @@
|
|||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_drm.h"
|
#include "nouveau_drm.h"
|
||||||
#include "nouveau_fbcon.h"
|
#include "nouveau_fbcon.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
#include "nouveau_pm.h"
|
#include "nouveau_pm.h"
|
||||||
#include "nv50_display.h"
|
#include "nv50_display.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
#include "nouveau_fence.h"
|
#include "nouveau_fence.h"
|
||||||
#include "nouveau_software.h"
|
#include "nouveau_software.h"
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_pm.h"
|
#include "nouveau_pm.h"
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
|
|
||||||
static const enum dcb_gpio_tag vidtag[] = { 0x04, 0x05, 0x06, 0x1a, 0x73 };
|
static const enum dcb_gpio_tag vidtag[] = { 0x04, 0x05, 0x06, 0x1a, 0x73 };
|
||||||
static int nr_vidtag = sizeof(vidtag) / sizeof(vidtag[0]);
|
static int nr_vidtag = sizeof(vidtag) / sizeof(vidtag[0]);
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include "nouveau_connector.h"
|
#include "nouveau_connector.h"
|
||||||
#include "nouveau_crtc.h"
|
#include "nouveau_crtc.h"
|
||||||
#include "nouveau_hw.h"
|
#include "nouveau_hw.h"
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
#include "nvreg.h"
|
#include "nvreg.h"
|
||||||
|
|
||||||
int nv04_dac_output_offset(struct drm_encoder *encoder)
|
int nv04_dac_output_offset(struct drm_encoder *encoder)
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_dma.h"
|
#include "nouveau_dma.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_fbcon.h"
|
#include "nouveau_fbcon.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_dma.h"
|
#include "nouveau_dma.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_fence.h"
|
#include "nouveau_fence.h"
|
||||||
|
|
||||||
struct nv04_fence_chan {
|
struct nv04_fence_chan {
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_fence.h"
|
#include "nouveau_fence.h"
|
||||||
#include "nouveau_software.h"
|
#include "nouveau_software.h"
|
||||||
#include "nouveau_hw.h"
|
#include "nouveau_hw.h"
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_dma.h"
|
#include "nouveau_dma.h"
|
||||||
#include "nouveau_ramht.h"
|
#include <core/ramht.h>
|
||||||
#include "nouveau_fence.h"
|
#include "nouveau_fence.h"
|
||||||
|
|
||||||
struct nv10_fence_chan {
|
struct nv10_fence_chan {
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include "nouveau_encoder.h"
|
#include "nouveau_encoder.h"
|
||||||
#include "nouveau_connector.h"
|
#include "nouveau_connector.h"
|
||||||
#include "nouveau_crtc.h"
|
#include "nouveau_crtc.h"
|
||||||
#include "nouveau_gpio.h"
|
#include <subdev/gpio.h>
|
||||||
#include "nouveau_hw.h"
|
#include "nouveau_hw.h"
|
||||||
#include "nv17_tv.h"
|
#include "nv17_tv.h"
|
||||||
|
|
||||||
|
@ -24,10 +24,10 @@
|
|||||||
|
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
#include "nouveau_drv.h"
|
#include "nouveau_drv.h"
|
||||||
#include "nouveau_bios.h"
|
#include <nouveau_bios.h>
|
||||||
#include "nouveau_pm.h"
|
#include "nouveau_pm.h"
|
||||||
#include "nouveau_hw.h"
|
#include "nouveau_hw.h"
|
||||||
#include "nouveau_fifo.h"
|
#include <engine/fifo.h>
|
||||||
|
|
||||||
#define min2(a,b) ((a) < (b) ? (a) : (b))
|
#define min2(a,b) ((a) < (b) ? (a) : (b))
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user