]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Convert proc files to seq_file and introduce debugfs
authorBen Gamari <bgamari@gmail.com>
Wed, 18 Feb 2009 01:08:49 +0000 (20:08 -0500)
committerEric Anholt <eric@anholt.net>
Fri, 27 Mar 2009 22:12:00 +0000 (15:12 -0700)
commit77c30279556faa3e4e460a0058e41ee853b97435
tree6fbdd815754c329273d3bdb5adb31fc1f308ae32
parent66e391f9c544f500c5e3711c974adb7b889f5e3f
drm: Convert proc files to seq_file and introduce debugfs

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.

Signed-off-by: Ben Gamari <bgamari@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_debugfs.c [new file with mode: 0644]
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_info.c [new file with mode: 0644]
drivers/gpu/drm/drm_proc.c
drivers/gpu/drm/drm_stub.c
include/drm/drmP.h