1. 27 9月, 2012 1 次提交
  2. 26 9月, 2012 2 次提交
  3. 21 9月, 2012 1 次提交
  4. 20 9月, 2012 1 次提交
  5. 14 9月, 2012 1 次提交
  6. 31 8月, 2012 2 次提交
    • B
      drm/nv50-/gpio: initialise to vbios defaults during init · 991083ba
      Ben Skeggs 提交于
      This is required to fix an issue on the Retina MBP where the eDP panel's
      AUX channel isn't wired up to the HPD pin for the panel, causing our aux
      code to bail out early.
      
      From looking at various traces of the binary driver, it appears NVIDIA do
      something very similar on at least all nv50+ chipsets during their
      initialisation sequence.  So, hopefully this is safe.
      
      Issue and fix initially tracked down by Ryan Bourgeois on fdo#51971.
      
      Backported fix from reworked nouveau kernel module.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      991083ba
    • B
      drm/nvd0/disp: hopefully fix selection of 6/8bpc mode on DP outputs · a348cd5f
      Ben Skeggs 提交于
      I have a very limited number of traces available for DP on NVD9+, but,
      these values produce the same as the binary driver on a confirmed 18-bit
      eDP panel and a confirmed 24-bit eDP panel (Retina MBP).
      
      It's interesting that the bitfield values also match the MODE_CTRL values
      that control the same thing on nv50:nvd9.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      a348cd5f
  7. 29 8月, 2012 1 次提交
  8. 18 8月, 2012 1 次提交
  9. 14 8月, 2012 5 次提交
  10. 03 8月, 2012 1 次提交
  11. 26 7月, 2012 9 次提交
  12. 25 7月, 2012 1 次提交
    • I
      drm: track dev_mapping in more robust and flexible way · 949c4a34
      Ilija Hadzic 提交于
      Setting dev_mapping (pointer to the address_space structure
      used for memory mappings) to the address_space of the first
      opener's inode and then failing if other openers come in
      through a different inode has a few restrictions that are
      eliminated by this patch.
      
      If we already have valid dev_mapping and we spot an opener
      with different i_node, we force its i_mapping pointer to the
      already established address_space structure (first opener's
      inode). This will make all mappings from drm device hang off
      the same address_space object.
      
      Some benefits (things that now work and didn't work
      before) of this patch are:
      
       * user space can mknod and use any number of device
         nodes and they will all work fine as long as the major
         device number is that of the drm module.
       * user space can even remove the first opener's device
         nodes and mknod the new one and the applications and
         windowing system will still work.
       * GPU drivers can safely assume that dev->dev_mapping is
         correct address_space and just blindly copy it
         into their (private) bdev.dev_mapping
      
      For reference, some discussion that lead to this patch can
      be found here:
      
      http://lists.freedesktop.org/archives/dri-devel/2012-April/022283.htmlSigned-off-by: NIlija Hadzic <ihadzic@research.bell-labs.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      949c4a34
  13. 20 7月, 2012 2 次提交
  14. 27 6月, 2012 1 次提交
  15. 26 6月, 2012 1 次提交
    • B
      drm/nouveau/fbcon: using nv_two_heads is not a good idea · 9bd0c15f
      Ben Skeggs 提交于
      nv_two_heads() was never meant to be used outside of pre-nv50 code.  The
      code checks for >= NV_10 for 2 CRTCs, then downgrades a few specific
      chipsets to 1 CRTC based on (pci_device & 0x0ff0).
      
      The breakage example seen is on GTX 560Ti, with a pciid of 0x1200, which
      gets detected as an NV20 (0x020x) with 1 CRTC by nv_two_heads(), causing
      memory corruption because there's actually 2 CRTCs..
      
      This switches fbcon to use the CRTC count directly from the mode_config
      structure, which will also fix the same issue on Kepler boards which have
      4 CRTCs.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      9bd0c15f
  16. 31 5月, 2012 2 次提交
  17. 24 5月, 2012 8 次提交