search for: nvc0_software_method

Displaying 2 results from an estimated 2 matches for "nvc0_software_method".

2012 Jul 27
0
[PATCH 2/3] nouveau: add software methods to e0
...b8c27..4c17291 100644 --- a/drivers/gpu/drm/nouveau/nouveau_software.h +++ b/drivers/gpu/drm/nouveau/nouveau_software.h @@ -53,5 +53,6 @@ int nv50_software_create(struct drm_device *); int nvc0_software_create(struct drm_device *); u64 nvc0_software_crtc(struct nouveau_channel *, int crtc); bool nvc0_software_method(struct drm_device *, u32, u32, u32, u32); +bool nve0_software_method(struct drm_device *, u32, u32, u32, u32); #endif diff --git a/drivers/gpu/drm/nouveau/nvc0_software.c b/drivers/gpu/drm/nouveau/nvc0_software.c index a029de5..4fd14cf 100644 --- a/drivers/gpu/drm/nouveau/nvc0_software.c +++ b/d...
2012 Jul 27
0
[PATCH 3/3] nouveau: add vblank methods on newer cards
...ta); + + pch->base.vblank.head = data; + list_add(&pch->base.vblank.list, &psw->base.vblank); + return 0; +} + +static int +nvc0_swmthd_page_flip(struct nouveau_channel *chan, + u32 class, u32 mthd, u32 data) +{ + nouveau_finish_page_flip(chan, NULL); + return 0; +} + bool nvc0_software_method(struct drm_device *dev, u32 chid, u32 class, u32 mthd, u32 data) { @@ -116,6 +173,7 @@ nvc0_software_context_new(struct nouveau_channel *chan, int engine) return -ENOMEM; nouveau_software_context_new(&pch->base); + pch->base.vblank.channel = chan->ramin->vinst >> 12;...