gpu: pvr: pdump: reduce error propagation from pdump to userspace
authorLuc Verhaegen <libv@codethink.co.uk>
Fri, 11 Mar 2011 14:02:31 +0000 (15:02 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:03 +0000 (21:43 +0300)
commit3efccd393ef3ecedd31b381cede1c39ab77e3f86
tree139fbd4c18b56b8bd97e05ceb130b0424fc61640
parent86c2a13f46ad22d1e2b47527beae47c976faca82
gpu: pvr: pdump: reduce error propagation from pdump to userspace

When pdump logging fails, the driver should, as much as possible,
continue working. Bad arguments should however be flagged.

This allows for a rewrite of DbgWrite()/PdumpWriteILock() to pdump_write().

Also remove the parameter write in PDumpPDDevPAddrKM, this parameter data
is simply not referenced and the data sent to the script anyway.

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