1. 07 4月, 2010 3 次提交
    • D
      drm/kms/fb: separate fbdev connector list from core drm connectors · 0b4c0f3f
      Dave Airlie 提交于
      This breaks the connection between the core drm connector list
      and the fbdev connector usage, and allows them to become disjoint
      in the future. It also removes the untype void* that was in the
      connector struct to support this.
      
      All connectors are added to the fbdev now but this could be
      changed in the future.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      0b4c0f3f
    • D
      drm/kms/fb: move to using fb helper crtc grouping instead of core crtc list · 8be48d92
      Dave Airlie 提交于
      This move to using the list of crtcs in the fb helper and cleans up the
      whole picking code, now we store the crtc/connectors we want directly
      into the modeset and we use the modeset directly to set the mode.
      
      Fixes from James Simmons and Ben Skeggs.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      8be48d92
    • 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
  2. 31 3月, 2010 1 次提交
  3. 11 2月, 2010 2 次提交
  4. 05 2月, 2010 1 次提交
  5. 25 1月, 2010 1 次提交
    • Z
      drm: fix regression in fb blank handling · 5fd4df4d
      Zhenyu Wang 提交于
      commit 731b5a15
      Author: James Simmons <jsimmons@infradead.org>
      Date:   Thu Oct 29 20:39:07 2009 +0000
      
          drm/kms: properly handle fbdev blanking
      
      uses DRM_MODE_DPMS_ON for FB_BLANK_NORMAL, but DRM_MODE_DPMS_ON
      is actually for turning output on instead of blank.
      
      This makes fb blank broken on my T61, it put LVDS on but leave
      pipe disabled which made screen totally white or caused some
      'burning' effect.
      
      [airlied: James objects to this but at this point in 2.6.33,
      I can't see a patch that will fix this properly like he wants coming
      in time and otherwise this is a regression - proper fix for 2.6.34
      hopefully.]
      
      Cc: James Simmons <jsimmons@infradead.org>
      Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      5fd4df4d
  6. 11 1月, 2010 1 次提交
  7. 08 1月, 2010 1 次提交
  8. 07 1月, 2010 1 次提交
  9. 08 12月, 2009 1 次提交
  10. 24 11月, 2009 1 次提交
  11. 19 11月, 2009 3 次提交
  12. 28 10月, 2009 2 次提交
  13. 26 10月, 2009 1 次提交
  14. 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
  15. 05 10月, 2009 1 次提交
  16. 29 9月, 2009 1 次提交
  17. 28 9月, 2009 1 次提交
  18. 26 9月, 2009 1 次提交
  19. 25 9月, 2009 1 次提交
    • D
      drm/kms: start adding command line interface using fb. · d50ba256
      Dave Airlie 提交于
      [note this requires an fb patch posted to linux-fbdev-devel already]
      
      This uses the normal video= command line option to control the kms
      output setup at boot time. It is used to override the autodetection
      done by kms.
      
      video= normally takes a framebuffer as the first parameter, in kms
      it will take a connector name, DVI-I-1, or LVDS-1 etc. If no output
      connector is specified the mode string will apply to all connectors.
      
      The mode specification used will match down the probed modes, and if
      no mode is found it will add a CVT mode that matches.
      
      video=1024x768 - all connectors match a 1024x768 mode or add a CVT on
      video=VGA-1:1024x768, VGA-1 connector gets mode only.
      
      The same strings as used in current fb modedb.c are used, except I've
      added three more letters, e, D, d, e = enable, D = enable Digital,
      d = disable, which allow a connector to be forced into a certain state.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      d50ba256
  20. 18 9月, 2009 1 次提交
    • J
      drm: fix drm_fb_helper handling of kernel crtcs · e87b2c42
      Jesse Barnes 提交于
      The drm_fb_helper shouldn't mess with CRTCs that aren't enabled or in
      its initial config. Ideally it shouldn't even include CRTCs in its
      initial config if they're not in use, but my old fix for that no longer
      works.  At any rate, this fixes a real bug I was seeing where after a
      console blank, both pipes would come back on, even though only one had
      been enabled before that.  Since the other pipe had a bogus config,
      this led to some screen corruption.
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      e87b2c42
  21. 08 9月, 2009 1 次提交
  22. 31 8月, 2009 2 次提交