gpu: pvr: pdumpfs: add stream_frames debugfs entry
authorLuc Verhaegen <libv@codethink.co.uk>
Fri, 11 Mar 2011 14:02:54 +0000 (15:02 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:04 +0000 (21:43 +0300)
commitadbb45015260aa011ab373bc989d6f0a8c1d05bc
tree09e836823469f3a4ac6fa97d27853262b232666e
parentddbb7cccb56b6faea404411b6ac969c3d32a676e
gpu: pvr: pdumpfs: add stream_frames debugfs entry

A mechanism to read out this data reliably is put in place. And data
is only lost when the stream is no longer being read or when a hard
limit of 1024 frames has been reached when the stream is still open.
In case of missing data, the buffer is padded with "..." to make
up for the missing bytes and to clear mark them.

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