~ubuntu-branches/ubuntu/natty/linux-backports-modules-2.6.32/natty

« back to all changes in this revision

Viewing changes to updates/nouveau/nouveau/nouveau_sgdma.c

  • Committer: Bazaar Package Importer
  • Author(s): Andy Whitcroft, Andy Whitcroft, Christopher James Halse Rogers, Upstream Kernel Changes
  • Date: 2010-02-26 19:06:43 UTC
  • Revision ID: james.westby@ubuntu.com-20100226190643-t5wuxgcpwkbbo3m6
Tags: 2.6.32-14.4
[ Andy Whitcroft ]

* UPDATE_NOUVEAU -- add support for dropping patches on top
* update Nouveau to v2.6.33

[ Christopher James Halse Rogers ]

* fix legacy paths in UPDATE_NOUVEAU
* pull in ctxprog voodoo from Nouveau upstream
  - LP: #528190
* update Nouveau package description to mention lbm-nouveau metapackage
* update VCS-Git field to point to lucid lbm

[ Upstream Kernel Changes ]

* drm/nv50: Implement ctxprog/state generation.
* drm/nv50: Remove redundant/incorrect ctxvals initialisation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
nouveau_sgdma_clear(struct ttm_backend *be)
55
55
{
56
56
        struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)be;
57
 
        struct drm_device *dev = nvbe->dev;
58
 
 
59
 
        NV_DEBUG(nvbe->dev, "\n");
 
57
        struct drm_device *dev;
60
58
 
61
59
        if (nvbe && nvbe->pages) {
 
60
                dev = nvbe->dev;
 
61
                NV_DEBUG(dev, "\n");
 
62
 
62
63
                if (nvbe->bound)
63
64
                        be->func->unbind(be);
64
65