An error occurred fetching the project authors.
  1. 16 Jun, 2012 1 commit
    • Márton Németh's avatar
      drm via: initialize object_idr · ce020ea5
      Márton Németh authored
      The field obejct_idr of struct drm_via_private was introduced with the
      commit http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=77ee8f3825054f23b17e9c8f728f061defd86cdc .
      In that patch idr_init(&dev->object_name_idr) was called instead of
      idr_init(&dev_priv->object_idr) by mistake, leaving the dev_priv->object_idr
      uninitialized. To be more exact, the object_idr buffer is filled with zeros
      because of kzalloc(), but the dev_priv->object_idr.lock spinlock can cause
      system freeze at lib/idr.c:move_to_free_list() when spin_lock_irqsave()
      is called on this spinlock.
      
      The patch was tested on Clevo D4J, model D410J laptop, on the following
      hardware, without AGP kernel module loaded:
      
        # lspci -s 01:00.0 -n
        01:00.0 0300: 1106:3108 (rev 01)
        # lspci -s 01:00.0 -v
        01:00.0 VGA compatible controller: VIA Technologies, Inc. K8M800/K8N800/K8N800A [S3 UniChrome Pro] (rev 01) (prog-if 00 [VGA controller])
                Subsystem: CLEVO/KAPOK Computer Device 4702
                Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
                Memory at f0000000 (32-bit, prefetchable) [size=64M]
                Memory at d1000000 (32-bit, non-prefetchable) [size=16M]
                Expansion ROM at <unassigned> [disabled]
                Capabilities: [60] Power Management version 2
                Capabilities: [70] AGP version 3.0
      Signed-off-by: default avatarMárton Németh <nm127@freemail.hu>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      ce020ea5
  2. 16 Feb, 2012 1 commit
    • Dave Airlie's avatar
      drm: move pci bus master enable into driver. · 466e69b8
      Dave Airlie authored
      The current enabling of bus mastering in the drm midlayer allows a large
      race condition under kexec. When a kexec'ed kernel re-enables bus mastering
      for the GPU, previously setup dma blocks may cause writes to random pieces
      of memory. On radeon the writeback mechanism can cause these sorts of issues.
      
      This patch doesn't fix the problem, but it moves the bus master enable under
      the individual drivers control so they can move enabling it until later in
      their load cycle and close the race.
      
      Fix for radeon kms driver will be in a follow-up patch.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      466e69b8
  3. 21 Dec, 2011 3 commits
  4. 02 Aug, 2010 1 commit
  5. 18 Jun, 2009 1 commit
  6. 24 Nov, 2008 1 commit
  7. 14 Jul, 2008 1 commit
    • Dave Airlie's avatar
      drm: reorganise drm tree to be more future proof. · c0e09200
      Dave Airlie authored
      With the coming of kernel based modesetting and the memory manager stuff,
      the everything in one directory approach was getting very ugly and
      starting to be unmanageable.
      
      This restructures the drm along the lines of other kernel components.
      
      It creates a drivers/gpu/drm directory and moves the hw drivers into
      subdirectores. It moves the includes into an include/drm, and
      sets up the unifdef for the userspace headers we should be exporting.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      c0e09200
  8. 07 Feb, 2008 2 commits
  9. 15 Oct, 2007 2 commits
  10. 11 Jul, 2007 2 commits
  11. 08 Feb, 2007 1 commit
  12. 21 Sep, 2006 1 commit
  13. 12 Nov, 2005 1 commit
  14. 25 Sep, 2005 1 commit
    • Dave Airlie's avatar
      drm: lindent the drm directory. · b5e89ed5
      Dave Airlie authored
      I've been threatening this for a while, so no point hanging around.
      This lindents the DRM code which was always really bad in tabbing department.
      I've also fixed some misnamed files in comments and removed some trailing
      whitespace.
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      b5e89ed5
  15. 27 Jul, 2005 1 commit
  16. 28 Jun, 2005 1 commit