1. 18 5月, 2010 1 次提交
    • D
      drm/fbdev: rework output polling to be back in the core. (v4) · eb1f8e4f
      Dave Airlie 提交于
      After thinking it over a lot it made more sense for the core to deal with
      the output polling especially so it can notify X.
      
      v2: drop plans for fake connector - per Michel's comments - fix X patch sent to xorg-devel, add intel polled/hpd setting, add initial nouveau polled/hpd settings.
      
      v3: add config lock take inside polling, add intel/nouveau poll init/fini calls
      
      v4: config lock was a bit agressive, only needed around connector list reading.
      otherwise it could re-enter.
      
      glisse: discard drm_helper_hpd_irq_event
      
      v3: Reviewed-by: Michel Dänzer <michel@daenzer.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      eb1f8e4f
  2. 07 4月, 2010 1 次提交
    • D
      drm/fb: fix fbdev object model + cleanup properly. · 38651674
      Dave Airlie 提交于
      The fbdev layer in the kms code should act like a consumer of the kms services and avoid having relying on information being store in the kms core structures in order for it to work.
      
      This patch
      
      a) removes the info pointer/psuedo palette from the core drm_framebuffer structure and moves it to the fbdev helper layer, it also removes the core drm keeping a list of kernel kms fbdevs.
      b) migrated all the fb helper functions out of the crtc helper file into the fb helper file.
      c) pushed the fb probing/hotplug control into the driver
      d) makes the surface sizes into a structure for ease of passing
      This changes the intel/radeon/nouveau drivers to use the new helper.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      38651674
  3. 31 3月, 2010 3 次提交
  4. 15 3月, 2010 1 次提交
  5. 25 2月, 2010 1 次提交
  6. 11 2月, 2010 1 次提交
  7. 09 2月, 2010 5 次提交
  8. 05 2月, 2010 1 次提交
  9. 24 1月, 2010 1 次提交
  10. 21 1月, 2010 1 次提交
  11. 14 1月, 2010 2 次提交
  12. 08 1月, 2010 1 次提交
  13. 06 1月, 2010 1 次提交
  14. 23 12月, 2009 1 次提交
  15. 10 12月, 2009 1 次提交
  16. 09 12月, 2009 1 次提交
  17. 08 12月, 2009 4 次提交
  18. 02 12月, 2009 4 次提交
  19. 16 10月, 2009 1 次提交
  20. 12 10月, 2009 2 次提交
  21. 06 10月, 2009 1 次提交
    • D
      drm/fb: add more correct 8/16/24/32 bpp fb support. · b8c00ac5
      Dave Airlie 提交于
      The previous patches had some unwanted side effects, I've fixed
      the lack of 32bpp working, and fixed up 16bpp so it should also work.
      
      this also adds the interface to allow the driver to set a preferred
      console depth so for example low memory rn50 can set it to 8bpp.
      It also catches 24bpp on cards that can't do it and forces 32bpp.
      
      Tested on r100/r600/i945.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      b8c00ac5
  22. 05 10月, 2009 1 次提交
  23. 18 9月, 2009 1 次提交
    • D
      drm/radeon/kms: add initial connector properties · 445282db
      Dave Airlie 提交于
      This adds:
      coherent mode: TMDS coherent mode for atom cards.
      scaling mode: LVDS scaler mode
      load detect: DAC load detection, DVI-I, VGA, TV
      tmds pll: legacy TMDS pll selection
      tv standard: TV standard selection.
      
      for later: other TV ones? dvi subconnector selection using std prop
      
      [contains fixes pointed out on dri-devel for atom bios mixups
       by Michel]
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      445282db
  24. 16 9月, 2009 1 次提交
  25. 08 9月, 2009 1 次提交
  26. 31 8月, 2009 1 次提交
    • D
      drm/kms: move driver specific fb common code to helper functions (v2) · 785b93ef
      Dave Airlie 提交于
      Initially I always meant this code to be shared, but things
      ran away from me before I got to it.
      
      This refactors the i915 and radeon kms fbdev interaction layers
      out into generic helpers + driver specific pieces.
      
      It moves all the panic/sysrq enhancements to the core file,
      and stores a linked list of kernel fbs. This could possibly be
      improved to only store the fb which has fbcon on it for panics
      etc.
      
      radeon retains some specific codes used for a big endian
      workaround.
      
      changes:
      fix oops in v1
      fix freeing path for crtc_info
      Reviewed-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      785b93ef