1. 16 1月, 2009 4 次提交
    • D
      drm/i915: add support for physical memory objects · 71acb5eb
      Dave Airlie 提交于
      This is an initial patch to do support for objects which needs physical
      contiguous main ram, cursors and overlay registers on older chipsets.
      
      These objects are bound on cursor bin, like pinning, and we copy
      the data to/from the backing store object into the real one on attach/detach.
      
      notes:
      possible over the top in attach/detach operations.
      no overlay support yet.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      71acb5eb
    • J
      drm/i915: make LVDS fixed mode a preferred mode · e285f3cd
      Jesse Barnes 提交于
      The detected fixed panel mode really is preferred, so mark it as such and
      add it to the LVDS connector mode list.
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      e285f3cd
    • J
      drm: handle depth & bpp changes correctly · 712531bf
      Jesse Barnes 提交于
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      712531bf
    • J
      drm: initial KMS config fixes · 40a518d9
      Jesse Barnes 提交于
      When mode setting is first initialized, the driver will call into
      drm_helper_initial_config() to set up an initial output and framebuffer
      configuration.  This routine is responsible for probing the available
      connectors, encoders, and crtcs, looking for modes and putting together
      something reasonable (where reasonable is defined as "allows kernel
      messages to be visible on as many displays as possible").
      
      However, the code was a bit too aggressive in setting default modes when
      none were found on a given connector.  Even if some connectors had modes,
      any connectors found lacking modes would have the default 800x600 mode added
      to their mode list, which in some cases could cause problems later down the
      line.  In my case, the LVDS was perfectly available, but the initial config
      code added 800x600 modes to both of the detected but unavailable HDMI
      connectors (which are on my non-existent docking station).  This ended up
      preventing later code from setting a mode on my LVDS, which is bad.
      
      This patch fixes that behavior by making the initial config code walk
      through the connectors first, counting the available modes, before it decides
      to add any default modes to a possibly connected output.  It also fixes the
      logic in drm_target_preferred() that was causing zeroed out modes to be set
      as the preferred mode for a given connector, even if no modes were available.
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      40a518d9
  2. 12 1月, 2009 1 次提交
  3. 11 1月, 2009 2 次提交
  4. 10 1月, 2009 33 次提交