Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 9, 2014
  1. drm/nv50-/disp: audit and version SOR_HDA_ELD method

    Ben Skeggs authored
    The full object interfaces are about to be exposed to userspace, so we
    need to check for any security-related issues and version the structs
    to make it easier to handle any changes we may need in the future.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  2. drm/nv50-/disp: audit and version SOR_PWR method

    Ben Skeggs authored
    The full object interfaces are about to be exposed to userspace, so we
    need to check for any security-related issues and version the structs
    to make it easier to handle any changes we may need in the future.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  3. drm/nv50-/disp: audit and version DAC_LOAD method

    Ben Skeggs authored
    The full object interfaces are about to be exposed to userspace, so we
    need to check for any security-related issues and version the structs
    to make it easier to handle any changes we may need in the future.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  4. drm/nv50-/disp: audit and version DAC_PWR method

    Ben Skeggs authored
    The full object interfaces are about to be exposed to userspace, so we
    need to check for any security-related issues and version the structs
    to make it easier to handle any changes we may need in the future.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  5. drm/nv50-/disp: share channel creation between nv50/gf110 impls

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  6. drm/nv50/kms: don't assume same class versions for all channels

    Ben Skeggs authored
    One of the next commits will remove some of the class IDs, leaving only
    the ones used by NVIDIA which, presumably, mark where functionality
    changes actually happened.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  7. drm/nouveau/fifo: implement nvif event source

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  8. drm/nouveau/fifo: allow direct access to channel control registers wh…

    Ben Skeggs authored
    …ere possible
    
    The indirect method has been left in-place here as a fallback path, as
    it may not be possible to map the non-PAGE_SIZE aligned control areas
    across some chipset+interface combinations.
    
    This isn't a problem for the primary use-case where the core and drm
    are linked together in kernel-land, but across a VM or (in the case
    where it applies now) between the core in the kernel and a userspace
    test tool.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  9. drm/nouveau/fifo: audit and version fifo channel classes

    Ben Skeggs authored
    The full object interfaces are about to be exposed to userspace, so we
    need to check for any security-related issues and version the structs
    to make it easier to handle any changes we may need in the future.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  10. drm/nouveau/device: audit and version NVIF_CONTROL class and methods

    Ben Skeggs authored
    The full object interfaces are about to be exposed to userspace, so we
    need to check for any security-related issues and version the structs
    to make it easier to handle any changes we may need in the future.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  11. drm/nouveau/pm: audit and version NVIF_PERFMON class and methods

    Ben Skeggs authored
    The full object interfaces are about to be exposed to userspace, so we
    need to check for any security-related issues and version the structs
    to make it easier to handle any changes we may need in the future.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  12. drm/nouveau/dma: audit and version NV_DMA classes

    Ben Skeggs authored
    The full object interfaces are about to be exposed to userspace, so we
    need to check for any security-related issues and version the structs
    to make it easier to handle any changes we may need in the future.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  13. drm/nouveau/dmaobj: switch to a slightly saner design

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  14. drm/nouveau/dmaobj: update to an improved style of class definition

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  15. drm/nouveau/device: audit and version NV_DEVICE class

    Ben Skeggs authored
    The full object interfaces are about to be exposed to userspace, so we
    need to check for any security-related issues and version the structs
    to make it easier to handle any changes we may need in the future.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  16. drm/nouveau: use ioctl interface for abi16 gpuobj free

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  17. drm/nouveau: use ioctl interface for abi16 ntfy alloc

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  18. drm/nouveau: use ioctl interface for abi16 grobj alloc

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  19. drm/nouveau: remove as much direct use of core headers as possible

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  20. drm/nouveau: remove (most) hardcoded object handle usage

    Ben Skeggs authored
    The PFIFO<->EVO sync buffers will be fixed up later when inter-channel
    sync in general is improved.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  21. drm/nouveau: port to nvif client/device/objects

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  22. drm/nouveau: initial pass at moving to struct nvif_device

    Ben Skeggs authored
    This is an attempt at isolating some of the changes necessary to port
    to NVIF in a separate commit.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  23. drm/nouveau: kill nouveau_dev() + wrap register macros

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  24. drm/nouveau: fix some usages of the wrong print function

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  25. drm/nouveau/nvif: import library functions for the ioctl/event interf…

    Ben Skeggs authored
    …aces
    
    This is a wrapper around the interfaces defined in an earlier commit,
    and is also used by various userspace (either by a libdrm backend, or
    libpciaccess) tools/tests.
    
    In the future this will be extended to handle channels, replacing some
    long-unloved code we currently use, and allow fifo/display/mpeg (hi
    Ilia ;)) engines to all be exposed in the same way.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  26. drm/nouveau/client: add method to retrieve device list

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  27. drm/nouveau/core: remove NV_D0 family

    Ben Skeggs authored
    The one place where it mattered has been replaced with a class check,
    which is more appropriate anyway.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  28. drm/nouveau/device: add method to retrieve some basic device info

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  29. drm/nouveau/core: import ioctl/event interfaces

    Ben Skeggs authored
    This forms the basis for the new APIs that will be exposed to userspace,
    giving it access to:
    
    - Object method calls, the immediately useful of which is performance
      counters and the abiity to manipulate the ZBC tables.
    - Information on the child classes an object supports, in order to avoid
      having to try all supported classes until successful.
    - Notifications, which will be used in the future to inform the client
      if its channel was killed due to a lockup, etc.
    
    This commit imports the interfaces, but are not currently used.  The DRM
    portion of the driver will be ported to speak to the core using these
    interfaces as much as possible.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  30. drm/nouveau/core: add function to return list of supported children

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  31. drm/nouveau/core: rework event interface

    Ben Skeggs authored
    This is a lot of prep-work for being able to send event notifications
    back to userspace.  Events now contain data, rather than a "something
    just happened" signal.
    
    Handler data is now embedded into a containing structure, rather than
    being kmalloc()'d, and can optionally have the notify routine handled
    in a workqueue.
    
    Various races between suspend/unload with display HPD/DP IRQ handlers
    automagically solved as a result.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  32. drm/nouveau/core: move handle-based object apis to handle.c

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  33. drm/nouveau/core: fail creation of zero-argument objects, when argume…

    Ben Skeggs authored
    …nts are passed
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  34. drm/nouveau: store a pointer to vm in nouveau_cli

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  35. drm/nouveau: store vblank event handler data in nv_crtc

    Ben Skeggs authored
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Something went wrong with that request. Please try again.