gpu: pvr: pdump: sanitise stream handling
authorLuc Verhaegen <libv@codethink.co.uk>
Fri, 11 Mar 2011 14:02:39 +0000 (15:02 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:03 +0000 (21:43 +0300)
commit2038452d766d21884e443dcfc318feaa754b4d03
treebb444c5e425dc5305e8d1a620f1e074e920c782f
parent9f53af179a8f8bc01e4c2207e9a4d4e357851963
gpu: pvr: pdump: sanitise stream handling

Upper level pdump calls now have pdump_print and pdump_dump to their
disposal. The former dumps strings, the second dumps raw data to
the pdump stream.

This commit also sanitises debug mode handling to have disabled,
standard and full modes only.

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