mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 17:00:13 +01:00
panfrost: Print synced traces to stderr
To match the existing behaviour. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3836>
This commit is contained in:
parent
c46a090942
commit
070bc883d3
3 changed files with 8 additions and 4 deletions
|
|
@ -775,7 +775,7 @@ panfrost_create_screen(int fd, struct renderonly *ro)
|
|||
list_inithead(&screen->bo_cache.buckets[i]);
|
||||
|
||||
if (pan_debug & (PAN_DBG_TRACE | PAN_DBG_SYNC))
|
||||
pandecode_initialize();
|
||||
pandecode_initialize(!(pan_debug & PAN_DBG_TRACE));
|
||||
|
||||
screen->base.destroy = panfrost_destroy_screen;
|
||||
|
||||
|
|
|
|||
|
|
@ -150,10 +150,14 @@ pandecode_dump_file_close(void)
|
|||
}
|
||||
|
||||
void
|
||||
pandecode_initialize(void)
|
||||
pandecode_initialize(bool to_stderr)
|
||||
{
|
||||
list_inithead(&mmaps.node);
|
||||
pandecode_dump_file_open();
|
||||
|
||||
if (to_stderr)
|
||||
pandecode_dump_stream = stderr;
|
||||
else
|
||||
pandecode_dump_file_open();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
* included in-tree.
|
||||
*/
|
||||
|
||||
void pandecode_initialize(void);
|
||||
void pandecode_initialize(bool to_stderr);
|
||||
|
||||
void pandecode_next_frame(void);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue