1. 06 Oct, 2010 6 commits
    • Marius Gröger's avatar
      drm/radeon: add properties to configure the width of the underscan borders · 5bccf5e3
      Marius Gröger authored
      This allows for a more exact fitting on the physical
      display. The new properties default to zero which corresponds to the
      previous underscan border width[height] formula:
      (display_width[display_width] >> 5) + 16.
      
      Example to set a horizontal border width of 30 and a vertikal border
      height of 22:
      
         xrandr --output HDMI-0 --set underscan on --set "underscan hborder" 30 --set "underscan vborder" 22
      Signed-off-by: default avatarMarius Gröger <marius.groeger@googlemail.com>
      Reviewed-by: default avatarAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      5bccf5e3
    • Alex Deucher's avatar
      drm/radeon/kms/r6xx+: use new style fencing (v3) · d0f8a854
      Alex Deucher authored
      On r6xx+ a newer fence mechanism was implemented to replace
      the old wait_until plus scratch regs setup.  A single EOP event
      will flush the destination caches, write a fence value, and generate
      an interrupt.  This is the recommended fence mechanism on r6xx+ asics.
      
      This requires my previous writeback patch.
      
      v2: fix typo that enabled event fence checking on all asics
      rather than just r6xx+.
      
      v3: properly enable EOP interrupts
      Should fix:
      https://bugs.freedesktop.org/show_bug.cgi?id=29972Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      d0f8a854
    • Alex Deucher's avatar
      drm/radeon/kms: enable writeback (v2) · 724c80e1
      Alex Deucher authored
      When writeback is enabled, the GPU shadows writes to certain
      registers into a buffer in memory.  The driver can then read
      the values from the shadow rather than reading back from the
      register across the bus.  Writeback can be disabled by setting
      the no_wb module param to 1.
      
      On r6xx/r7xx/evergreen, the following registers are shadowed:
      - CP scratch registers
      - CP read pointer
      - IH write pointer
      On r1xx-rr5xx, the following registers are shadowed:
      - CP scratch registers
      - CP read pointer
      
      v2:
      - Combine wb patches for r6xx-evergreen and r1xx-r5xx
      - Writeback is disabled on AGP boards since it tends to be
      unreliable on AGP using the gart.
      - Check radeon_wb_init return values properly.
      Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      724c80e1
    • Alex Deucher's avatar
      drm/radeon/kms: clean up r6xx/r7xx blit init (v2) · b70d6bb3
      Alex Deucher authored
      Move common code to init function.
      
      v2: make sure the bo is pinned after init as well.
      Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      b70d6bb3
    • Dave Airlie's avatar
      Merge remote branch 'korg/drm-fixes' into drm-vmware-next · fb7ba211
      Dave Airlie authored
      necessary for some of the vmware fixes to be pushed in.
      
      Conflicts:
      	drivers/gpu/drm/drm_gem.c
      	drivers/gpu/drm/i915/intel_fb.c
      	include/drm/drmP.h
      fb7ba211
    • Dave Airlie's avatar
      Merge remote branch 'intel/drm-intel-next' of ../drm-next into drm-core-next · 9a170cae
      Dave Airlie authored
      * 'intel/drm-intel-next' of ../drm-next: (266 commits)
        drm/i915: Avoid circular locking from intel_fbdev_fini()
        drm/i915: mark display port DPMS state as 'ON' when enabling output
        drm/i915: Skip pread/pwrite if size to copy is 0.
        drm/i915: avoid struct mutex output_poll mutex lock loop on unload
        drm/i915: Rephrase pwrite bounds checking to avoid any potential overflow
        drm/i915: Sanity check pread/pwrite
        drm/i915: Use pipe state to tell when pipe is off
        drm/i915: vblank status not valid while training display port
        drivers/gpu/drm/i915/i915_gem.c: Add missing error handling code
        drm/i915: Don't mask the return code whilst relocating.
        drm/i915: If the GPU hangs twice within 5 seconds, declare it wedged.
        drm/i915: Only print 'generating error event' if we actually are
        drm/i915: Try to reset gen2 devices.
        drm/i915: Clear fence registers on GPU reset
        drm/i915: Force the domain to CPU on unbinding whilst wedged.
        drm: Move the GTT accounting to i915
        drm/i915: Fix refleak during eviction.
        i915: Added function to initialize VBT settings
        drm/i915: Remove redundant deletion of obj->gpu_write_list
        drm/i915: Make get/put pages static
        ...
      9a170cae
  2. 04 Oct, 2010 5 commits
  3. 03 Oct, 2010 5 commits
  4. 02 Oct, 2010 2 commits
  5. 01 Oct, 2010 13 commits
  6. 30 Sep, 2010 8 commits
  7. 29 Sep, 2010 1 commit