aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
Commit message (Collapse)AuthorAge
...
| * | | drm/nouveau/fifo: trigger engine context unload before zeroing context pointerBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | Fixes a PCE0 page fault noticed on NVD9 during module unload. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau: prevent log manglingDaniel J Blueman2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On 3.7-rc6, add missing newline to to prevent the following kernel log line getting appended to the current one after switching the integrated GPU and suspending the discrete GPU. Signed-off-by: Daniel J Blueman <daniel@quora.org> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau: unpin various bo's before destroyingMarcin Slusarz2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These objects leak VRAM - but only on module unload. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau: unpin pushbuffer bo before destroying itMarcin Slusarz2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes GART leak (as accounted by nouveau_drm.gem.gart_available). Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau: remove misleading comment from nouveau_prime_newMarcin Slusarz2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy/pasted from nouveau_gem_new. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau: raise reporting levels of some messagesMarcin Slusarz2012-11-28
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau/core: fix the assumption that NVDEV_XXXX is always under 32Martin Peres2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It fixes a bug that would have been introduced when adding more sudevs/engines. Signed-off-by: Martin Peres <martin.peres@labri.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau/ppp: remove nouveau_ppp base classBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | nve0/ppp: enable support via nvc0's implementationBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NVIDIA also appear to use the same class on Fermi/Kepler for PPP. Will allow use of the engine if firmware (nvXX_fuc086) provided. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | nvc0/ppp: initial implementation of engineMaarten Lankhorst2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Will allow use of the engine if firmware (nvXX_fuc086) provided. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | nvc0/vp: initial implementation of engineMaarten Lankhorst2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Will allow use of the engine if firmware (nvXX_fuc085) provided. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | nvc0/bsp: initial implementation of engineMaarten Lankhorst2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Will allow use of the engine if firmware (nvXX_fuc084) provided. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau/vdec: remove nouveau_{bsp,vp} base classes, use nouveau_engine ↵Ben Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directly Later chipsets use falcon anyway, and I can't currently see a good need for a shared base class. PPP will get the same treatment once Maarten's patches are merged. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nve0/fifo: allow for future binding of ppp contextsBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | No support for the class yet, but will be pulled in with Maarten's Fermi vdec patches. The Kepler PPP class is identical. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nve0/vp: implement initial support for engineBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | Will allow use of the engine if firmware (nvXX_fuc085) provided. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nve0/bsp: implement initial support for engineBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | Will allow use of the engine if firmware (nvXX_fuc084) provided. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nve0: allow specification of channel engine type in abi16 callBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if either vram/gart handles were specified as ~0, the ioctl call would fail. In order to hack engine selection into the ioctl for kepler, we now define (fb_ctxdma_handle == ~0) to mean "engine mask is in tt_ctxdma_handle". This approach also allows new userspace to detect lack of support for non-PGRAPH channels on older kernels. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau/core: implement shortcut for simple engctx constructionBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvc0/copy: share interrupt handler with nva3Ben Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nv50/fb: implement trap handler as subdev interrupt handlerBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | nv50_fb_trap() will now be called automagically by the mc intr handler, rather than each engine's handler having to check for traps manually. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau/mc: allow calling of multiple handlers for a give intr bitBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau/copy: remove nouveau_copy base classBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | nva3/nvc0 are using falcon, nve0 is now using engine directly. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvc0/copy: use nouveau_falcon base classBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nva3/copy: use nouveau_falcon base classBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nv98/crypt: use nouveau_falcon base classBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau: initial falcon (fuc) engine base class implementationBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau: convert to dev_pm_opsDave Airlie2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a precursor to dynamic power management support for nouveau, we need to use pm ops for that, so first convert the driver to using pm ops interfaces. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau: Add interface to detect optimus and v1 supportDave Airlie2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required to decide if we can auto-powerdown and how to implement it. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau/disp: add support for 10bpc over DisplayPortBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau: rename nvd0_display to nv50_display to reflect reality since mergeBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nv50-nvc0: switch to common disp impl, removing previous versionBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvd0/disp: implement support for colour vibrance controlBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ported from original nv50 commit by Christoph, with added support for the setting on later chipsets. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvd0/disp: remove fetching of capabilities reportBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Unused, and caused a race with evo_sync(). Will revisit using it properly later on. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvd0/disp: enable support for older display classesBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvd0/disp: support creation of fb dma objects on older chipsetsBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvd0/disp: implement support for older DISP_SYNC classesBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvd0/disp: implement sor support for older display classesBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvd0/disp: implement dac support for older display classesBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvd0/disp: start implementing support for older display classesBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | Currently unused, but checkpointing the merged head handling routines. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau/dp: remove last bits of VBIOS parsing from DRM codeBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau/dp: move core link training calls to common codeBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nouveau: remove (now obsolete) BIT U table parsing from DRM codeBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nv50/disp: move remaining interrupt handling into coreBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nvd0/disp: calculate U script id in supervisor interruptBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is like we do on nv50:nvd9 already. There's been no problems seen yet with using this *seemingly* scratch register to store the value, but we won't be able to do this anymore once nv50's code is merged. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nv84/disp: move hdmi control into coreBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nva3/disp: move hda codec handling to coreBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nv50/disp: move dp link training helpers into coreBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nv50/disp: call into core for dac load detectionBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nv50/disp: call into core to handle dac/sor power state changesBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * | | drm/nv50/disp: allocate display from driver coreBen Skeggs2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | EVO channels still handled "manually", this won't be ported here, and will instead be held off until nv50_display/nvd0_display are merged. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>