gpu: pvr: pdumpfs: add Kconfig and debugfs pdump mode handling
authorLuc Verhaegen <libv@codethink.co.uk>
Fri, 11 Mar 2011 14:02:47 +0000 (15:02 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:04 +0000 (21:43 +0300)
commit4713ddfef267393154536ce3f4edb8ae3c5d6d72
treeaa0c358d21f1921e94bbc3159de12dae09cfd60c
parent2f1d87cf4e15a476678bd892d224ef0a9d5c084a
gpu: pvr: pdumpfs: add Kconfig and debugfs pdump mode handling

This adds the pvr/pdump debugfs subdirectory, and adds two files there:
mode and modes_possible. The modes_possible file is read-only and
lists the different modes (disabled, standard, full). The mode file
is where we read and set the current mode.

Kconfig now provides an option to select the initial mode pdump
is in.

Signed-off-by: Luc Verhaegen <libv@codethink.co.uk>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/Kconfig
pvr/pvr_debug.h
pvr/pvr_debugfs.c
pvr/pvr_debugfs.h
pvr/pvr_pdumpfs.c