gpu: pvr: pdump: rewrite PDumpMemUM()
authorLuc Verhaegen <libv@codethink.co.uk>
Fri, 11 Mar 2011 14:02:40 +0000 (15:02 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:03 +0000 (21:43 +0300)
commita00ab4eff12883d5886a69237f67b993ac06c2d7
treeb3f6ac967db9a653b00b33fa604df4b68e1edf2e
parent2038452d766d21884e443dcfc318feaa754b4d03
gpu: pvr: pdump: rewrite PDumpMemUM()

Now that we have cleared up the streams, we can delay the copy_from_user()
until copying into the streams. This makes PDumpMemUM highly similar to
PDumpMemKM.

So, split out the printing part from PDumpMemKM, and handle parameter
stream dumping separately for PDumpMemKM and PDumpMemUM.

In turn, this allows the removal of the separate buffer which was the
heart of pdump_common.c, which is removed as well.

No functional change.

Signed-off-by: Luc Verhaegen <libv@codethink.co.uk>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/Makefile
pvr/bridged_pvr_bridge.c
pvr/bridged_sgx_bridge.c
pvr/pdump.c
pvr/pdump_common.c [deleted file]
pvr/pdump_km.h