tests, clients: add Presentation feedback flags
Decode the new feedback flags. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Mario Kleiner <mario.kleiner.de@gmail.com> Tested-by: Mario Kleiner <mario.kleiner.de@gmail.com>
This commit is contained in:
parent
bf0e031e4a
commit
63495864d3
@ -344,7 +344,10 @@ pflags_to_str(uint32_t flags, char *str, unsigned len)
|
||||
uint32_t flag;
|
||||
char sym;
|
||||
} desc[] = {
|
||||
{ 1, '1' }, /* dummy placeholder */
|
||||
{ PRESENTATION_FEEDBACK_KIND_VSYNC, 's' },
|
||||
{ PRESENTATION_FEEDBACK_KIND_HW_CLOCK, 'c' },
|
||||
{ PRESENTATION_FEEDBACK_KIND_HW_COMPLETION, 'e' },
|
||||
{ PRESENTATION_FEEDBACK_KIND_ZERO_COPY, 'z' },
|
||||
};
|
||||
unsigned i;
|
||||
|
||||
|
@ -165,7 +165,10 @@ pflags_to_str(uint32_t flags, char *str, unsigned len)
|
||||
uint32_t flag;
|
||||
char sym;
|
||||
} desc[] = {
|
||||
{ 1, '1' }, /* dummy placeholder */
|
||||
{ PRESENTATION_FEEDBACK_KIND_VSYNC, 's' },
|
||||
{ PRESENTATION_FEEDBACK_KIND_HW_CLOCK, 'c' },
|
||||
{ PRESENTATION_FEEDBACK_KIND_HW_COMPLETION, 'e' },
|
||||
{ PRESENTATION_FEEDBACK_KIND_ZERO_COPY, 'z' },
|
||||
};
|
||||
unsigned i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user