Commit 8a423647 authored by Ben Skeggs's avatar Ben Skeggs

drm/nv50/kms: create ctxdma objects for framebuffers as required

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent ab0af559
...@@ -46,7 +46,7 @@ struct nouveau_crtc { ...@@ -46,7 +46,7 @@ struct nouveau_crtc {
int cpp; int cpp;
bool blanked; bool blanked;
uint32_t offset; uint32_t offset;
uint32_t tile_flags; uint32_t handle;
} fb; } fb;
struct { struct {
......
...@@ -9,7 +9,7 @@ struct nouveau_framebuffer { ...@@ -9,7 +9,7 @@ struct nouveau_framebuffer {
struct drm_framebuffer base; struct drm_framebuffer base;
struct nouveau_bo *nvbo; struct nouveau_bo *nvbo;
struct nouveau_vma vma; struct nouveau_vma vma;
u32 r_dma; u32 r_handle;
u32 r_format; u32 r_format;
u32 r_pitch; u32 r_pitch;
}; };
......
...@@ -79,9 +79,6 @@ enum { ...@@ -79,9 +79,6 @@ enum {
/* G80+ display objects */ /* G80+ display objects */
NvEvoVRAM = 0x01000000, NvEvoVRAM = 0x01000000,
NvEvoFB16 = 0x01000001,
NvEvoFB32 = 0x01000002,
NvEvoVRAM_LP = 0x01000003,
NvEvoSync = 0xcafe0000 NvEvoSync = 0xcafe0000
}; };
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment