1. 21 Dec, 2011 36 commits
  2. 20 Dec, 2011 4 commits
    • Ville Syrjälä's avatar
      drm: Add drm_format_num_planes() utility function · d0d110e0
      Ville Syrjälä authored
      This function returns the number of planes used by a specific pixel
      format.
      Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: default avatarRob Clark <rob.clark@linaro.org>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      d0d110e0
    • Rob Clark's avatar
      drm: call connector dpms fxn, when setting config · c7548837
      Rob Clark authored
      Call connector->funcs->dpms(DPMS_ON) rather than just setting
      connector->dpms = DPMS_ON.  This ensures that if the connector
      has something to do to enable the output (rather than just using
      drm_helper_connector_dpms helper directly), that this happens
      at bootup.  This solves an issue with connectors not getting
      enabled from fbcon_init() when the driver is loaded.
      Signed-off-by: default avatarRob Clark <rob@ti.com>
      Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      c7548837
    • Dave Airlie's avatar
      drm/radeon/kms: don't use 0 bpc for adjusting hdmi clock · 06e4cd64
      Dave Airlie authored
      If the bpc is set from the connector is 0, we then use it later to adjust
      in a special case the HDMI pixel clock, however if the bpc is 0, we end up
      passing a 0 pixel clock into the code.
      
      I'm not sure if this is the correct answer or if we should avoid the HDMI
      clock adjustment for 0 values.
      
      This fixes a divide by 0 on my Llano system with a HDMI monitor and hdmi
      audio enabled.
      Reviewed-by: default avatarAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      06e4cd64
    • Dave Airlie's avatar
      Merge branch 'drm-radeon-next' of ../drm-radeon-next into drm-core-next · 4bc22a1a
      Dave Airlie authored
      * 'drm-radeon-next' of ../drm-radeon-next:
        drm/radeon: introduce a sub allocator and convert ib pool to it v4
        drm/radeon/kms: add support for per-ring fence interrupts
        drm/radeon/kms: add cayman specific fence_ring_emit
        drm/radeon/kms: add some new ring params to better handle other ring types
        drm/radeon: improve radeon_test_syncing function
        drm/radeon: precompute fence cpu/gpu addr once v3
        drm/radeon: move ring debugfs into radeon_ring.c
        drm/radeon: rename struct radeon_cp to radeon_ring
        drm/radeon: disable compute rings on cayman for now
        drm/radeon: add radeon_fence_count_emited function
        drm/radeon: make some asic pointers per ring
        drm/radeon: Add radeon_test_syncing function v2
        drm/radeon: make cp variable an array
        drm/radeon: make ring rptr and wptr register offsets variable
        drm/radeon: make all functions work with multiple rings.
        drm/radeon/kms: add support for semaphores v3
        drm/radeon/kms: add support for multiple fence queues v2
        drm/radeon: fix a spelling mistake
        drm/radeon: no need to check all relocs for duplicates
        drm/radeon: fix debugfs handling v3
      4bc22a1a