Skip to content
Commit 28a62277 authored by Ben Gamari's avatar Ben Gamari Committed by Eric Anholt
Browse files

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: default avatarBen Gamari <bgamari@gmail.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 40a5f0de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment