1. 18 11月, 2009 4 次提交
  2. 19 8月, 2009 1 次提交
  3. 19 6月, 2009 1 次提交
  4. 16 6月, 2009 1 次提交
    • G
      debugfs: Fix terminology inconsistency of dir name to mount debugfs filesystem. · 156f5a78
      GeunSik Lim 提交于
      Many developers use "/debug/" or "/debugfs/" or "/sys/kernel/debug/"
      directory name to mount debugfs filesystem for ftrace according to
      ./Documentation/tracers/ftrace.txt file.
      
      And, three directory names(ex:/debug/, /debugfs/, /sys/kernel/debug/) is
      existed in kernel source like ftrace, DRM, Wireless, Documentation,
      Network[sky2]files to mount debugfs filesystem.
      
      debugfs means debug filesystem for debugging easy to use by greg kroah
      hartman. "/sys/kernel/debug/" name is suitable as directory name
      of debugfs filesystem.
      - debugfs related reference: http://lwn.net/Articles/334546/
      
      Fix inconsistency of directory name to mount debugfs filesystem.
      
      * From Steven Rostedt
        - find_debugfs() and tracing_files() in this patch.
      Signed-off-by: NGeunSik Lim <geunsik.lim@samsung.com>
      Acked-by     : Inaky Perez-Gonzalez <inaky@linux.intel.com>
      Reviewed-by  : Steven Rostedt <rostedt@goodmis.org>
      Reviewed-by  : James Smart <james.smart@emulex.com>
      CC: Jiri Kosina <trivial@kernel.org>
      CC: David Airlie <airlied@linux.ie>
      CC: Peter Osterlund <petero2@telia.com>
      CC: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
      CC: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
      CC: Masami Hiramatsu <mhiramat@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      156f5a78
  5. 21 5月, 2009 1 次提交
  6. 24 4月, 2009 1 次提交
  7. 29 3月, 2009 1 次提交
  8. 28 3月, 2009 1 次提交
  9. 13 3月, 2009 3 次提交
    • B
      drm: Convert proc files to seq_file and introduce debugfs · 955b12de
      Ben Gamari 提交于
      The old mechanism to formatting proc files is extremely ugly. The
      seq_file API was designed specifically for cases like this and greatly
      simplifies the process.
      
      Also, most of the files in /proc really don't belong there. This patch
      introduces the infrastructure for putting these into debugfs and exposes
      all of the proc files in debugfs as well.
      
      This contains the i915 hooks rewrite as well, to make bisectability better.
      Signed-off-by: NBen Gamari <bgamari@gmail.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      955b12de
    • K
      drm: claim PCI device when running in modesetting mode. · 112b715e
      Kristian Høgsberg 提交于
      Under kernel modesetting, we manage the device at all times, regardless
      of VT switching and X servers, so the only decent thing to do is to
      claim the PCI device.  In that case, we call the suspend/resume hooks
      directly from the pci driver hooks instead of the current class device detour.
      Signed-off-by: NKristian Høgsberg <krh@redhat.com>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      112b715e
    • B
      drm: Split drm_map and drm_local_map · f77d390c
      Benjamin Herrenschmidt 提交于
      Once upon a time, the DRM made the distinction between the drm_map
      data structure exchanged with user space and the drm_local_map used
      in the kernel.
      
      For some reasons, while the BSD port still has that "feature", the
      linux part abused drm_map for kernel internal usage as the local
      map only existed as a typedef of the struct drm_map.
      
      This patch fixes it by declaring struct drm_local_map separately
      (though its content is currently identical to the userspace variant),
      and changing the kernel code to only use that, except when it's a
      user<->kernel interface (ie. ioctl).
      
      This allows subsequent changes to the in-kernel format
      
      I've also replaced the use of drm_local_map_t with struct drm_local_map
      in a couple of places. Mostly by accident but they are the same (the
      former is a typedef of the later) and I have some remote plans and
      half finished patch to completely kill the drm_local_map_t typedef
      so I left those bits in.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Acked-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      f77d390c
  10. 19 1月, 2009 1 次提交
  11. 07 1月, 2009 1 次提交
  12. 29 12月, 2008 8 次提交
  13. 25 11月, 2008 1 次提交
  14. 11 11月, 2008 1 次提交
    • D
      drm/i915: Filter pci devices based on PCI_CLASS_DISPLAY_VGA · afa21e05
      Dave Airlie 提交于
      This fixes hangs on 855-class hardware by avoiding double attachment of the
      driver due to the stub second head device having the same pci id as the real
      device.
      
      Other DRM drivers probably want this treatment as well, but I'm applying it
      just to this one for safety. But we should clean up the drm_pciids.h mess
      now so that each driver has its own pci id list header in its own directory.
      Lets do that in the next release.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      afa21e05
  15. 18 10月, 2008 2 次提交
    • E
      drm: Add GEM ("graphics execution manager") to i915 driver. · 673a394b
      Eric Anholt 提交于
      GEM allows the creation of persistent buffer objects accessible by the
      graphics device through new ioctls for managing execution of commands on the
      device.  The userland API is almost entirely driver-specific to ensure that
      any driver building on this model can easily map the interface to individual
      driver requirements.
      
      GEM is used by the 2d driver for managing its internal state allocations and
      will be used for pixmap storage to reduce memory consumption and enable
      zero-copy GLX_EXT_texture_from_pixmap, and in the 3d driver is used to enable
      GL_EXT_framebuffer_object and GL_ARB_pixel_buffer_object.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      673a394b
    • J
      drm: Rework vblank-wait handling to allow interrupt reduction. · 0a3e67a4
      Jesse Barnes 提交于
      Previously, drivers supporting vblank interrupt waits would run the interrupt
      all the time, or all the time that any 3d client was running, preventing the
      CPU from sleeping for long when the system was otherwise idle.  Now, interrupts
      are disabled any time that no client is waiting on a vblank event. The new
      method uses vblank counters on the chipsets when the interrupts are turned
      off, rather than counting interrupts, so that we can continue to present
      accurate vblank numbers.
      
      Co-author: Michel Dänzer <michel@tungstengraphics.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      0a3e67a4
  16. 27 7月, 2008 1 次提交
  17. 14 7月, 2008 1 次提交
    • D
      drm: reorganise drm tree to be more future proof. · c0e09200
      Dave Airlie 提交于
      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: NDave Airlie <airlied@redhat.com>
      c0e09200
  18. 20 6月, 2008 1 次提交
  19. 13 6月, 2008 1 次提交
  20. 26 4月, 2008 1 次提交
  21. 07 2月, 2008 4 次提交
  22. 20 10月, 2007 1 次提交
  23. 15 10月, 2007 2 次提交