1. 15 9月, 2009 2 次提交
    • D
      drm/radeon/kms: add 32/64 ioctl support. · 70ba2a37
      Dave Airlie 提交于
      Although the new radeon driver ioctls don't need this, some of
      the drm initialisation ioctls require it, so add this to make them
      work.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      70ba2a37
    • J
      drm/radeon/kms: clear confusion in GART init/deinit path · 4aac0473
      Jerome Glisse 提交于
      GART static one time initialization was mixed up with GART
      enabling/disabling which could happen several time for instance
      during suspend/resume cycles. This patch splits all GART
      handling into 4 differents function. gart_init is for one
      time initialization, gart_deinit is called upon module unload
      to free resources allocated by gart_init, gart_enable enable
      the GART and is intented to be call after first initialization
      and at each resume cycle or reset cycle. Finaly gart_disable
      stop the GART and is intended to be call at suspend time or
      when unloading the module.
      Signed-off-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      4aac0473
  2. 14 9月, 2009 3 次提交
  3. 12 9月, 2009 3 次提交
  4. 11 9月, 2009 6 次提交
  5. 10 9月, 2009 6 次提交
  6. 09 9月, 2009 2 次提交
  7. 08 9月, 2009 7 次提交
  8. 07 9月, 2009 4 次提交
  9. 02 9月, 2009 1 次提交
  10. 31 8月, 2009 3 次提交
    • 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
    • B
      radeon: Use request_firmware() · 70967ab9
      Ben Hutchings 提交于
      Loosely based on a patch by
      Jaswinder Singh Rajput <jaswinderlinux@gmail.com>.
      
      KMS support by Dave Airlie <airlied@redhat.com>.
      
      For Radeon 100- to 500-series, firmware blobs look like:
          struct {
              __be32 datah;
              __be32 datal;
          } cp_ucode[256];
      
      For Radeon 600-series, there are two separate firmware blobs:
          __be32 me_ucode[PM4_UCODE_SIZE * 3];
          __be32 pfp_ucode[PFP_UCODE_SIZE];
      
      For Radeon 700-series, likewise:
          __be32 me_ucode[R700_PM4_UCODE_SIZE];
          __be32 pfp_ucode[R700_PFP_UCODE_SIZE];
      Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      70967ab9
    • D
      drm/radeon: cleanup mkregtable.c · 689d7c2a
      Dave Airlie 提交于
      This cleans up the code in mkregtable.c to be more kernel style.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      689d7c2a
  11. 27 8月, 2009 1 次提交
  12. 23 8月, 2009 1 次提交
  13. 21 8月, 2009 1 次提交