11 Dec, 2009

5 commits

  • This adds a drm/kms staging non-API stable driver for GPUs from NVIDIA.

    This driver is a KMS-based driver and requires a compatible nouveau
    userspace libdrm and nouveau X.org driver.

    This driver requires firmware files not available in this kernel tree,
    interested parties can find them via the nouveau project git archive.

    This driver is reverse engineered, and is in no way supported by nVidia.

    Support for nearly the complete range of nvidia hw from nv04->g80 (nv50)
    is available, and the kms driver should support driving nearly all
    output types (displayport is under development still) along with supporting
    suspend/resume.

    This work is all from the upstream nouveau project found at
    nouveau.freedesktop.org.

    The original authors list from nouveau git tree is:
    Anssi Hannula
    Ben Skeggs
    Francisco Jerez
    Maarten Maathuis
    Marcin Kościelnicki
    Matthew Garrett
    Matt Parnell
    Patrice Mandin
    Pekka Paalanen
    Xavier Chantry
    along with project founder Stephane Marchesin

    Signed-off-by: Ben Skeggs
    Signed-off-by: Dave Airlie

    Ben Skeggs
     
  • These are functions required by nouveau which will be merged later.

    Signed-off-by: Ben Skeggs
    Signed-off-by: Dave Airlie

    Ben Skeggs
     
  • Signed-off-by: Alex Deucher
    Signed-off-by: Dave Airlie

    Alex Deucher
     
  • Now bo init use placement structure like bo validation does.

    Signed-off-by: Jerome Glisse
    Signed-off-by: Dave Airlie

    Jerome Glisse
     
  • Convert ttm_buffer_object_init to use struct ttm_placement and
    rename to ttm_bo_init for consistency with function naming. This
    allow to give more complex placement at buffer creation. For
    instance you ask to allocate bo into vram first but if there is
    not enough vram you can give system as a second possible
    placement. It also allow to create buffer in a specific range.

    Also rename ttm_buffer_object_validate to ttm_bo_validate.

    Signed-off-by: Jerome Glisse
    Signed-off-by: Dave Airlie

    Jerome Glisse
     

10 Dec, 2009

20 commits


09 Dec, 2009

6 commits

  • A residual bare printk survived the merger of the hang detector, remove
    this debugging left-over.

    Signed-off-by: Chris Wilson
    Signed-off-by: Eric Anholt

    Chris Wilson
     
  • Entries in the i2c table aren't always ordered
    by id. This allows us to remove some quirks
    that are no longer needed.

    Signed-off-by: Alex Deucher
    Signed-off-by: Dave Airlie

    Alex Deucher
     
  • entries in the ss table aren't always ordered
    by id.

    Signed-off-by: Alex Deucher
    Signed-off-by: Dave Airlie

    Alex Deucher
     
  • - Don't add dac load detection property to DVI-D
    - Make sure i2c info is valid before adding DP aux chan bus
    - Don't create scaling_mode_property twice
    - fix typo that prevented coherent and load detection from working
    - add coherent prop to DP (for dp->dvi adapters)

    Signed-off-by: Alex Deucher
    Signed-off-by: Dave Airlie

    Alex Deucher
     
  • If we don't need the zone we need to free it.

    Acked-By: Thomas Hellstrom
    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • Sometimes we will use a crtc for integerated LVDS, which is different with
    that assigned by BIOS. If we want to get flicker-free transitions,
    then we could read out the current state for it and set our current state
    accordingly.

    But it is true that if we aren't reading current state out, we do need
    to turn everything off before modesetting. Otherwise the clocks can get very
    angry and we get things worse than a flicker at boot.
    In fact we also do the similar thing in UMS mode. We will disable all the
    possible outputs/crtcs for the first modesetting.

    So we disable all the possible outputs/crtcs before entering the KMS mode.
    Before we configure connector/encoder/crtc, the function of
    drm_helper_disable_unused_function can disable all the possible outputs/crtcs.

    Signed-off-by: Zhao Yakui
    Reviewed-by: Eric Anholt
    Reviewed-by: Rafal Milecki
    Signed-off-by: Dave Airlie

    Zhao Yakui
     

08 Dec, 2009

9 commits