drv: add support for bo logging
When MINIGBM_DEBUG=log_bos is set, log all bos created/imported.
BUG=none
TEST=add MINIGBM_DEBUG=log_bos to /etc/chrome_dev.conf and
see logs in /var/log/ui/ui.LATEST
Change-Id: Ib2b2d5c3181862b557dbc5499fef84f2c9ac8122
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/5014198
Commit-Queue: ChromeOS Auto Retry <chromeos-auto-retry@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Dawn Han <dawnhan@google.com>
Tested-by: Chia-I Wu <olv@google.com>
This commit is contained in:
parent
90b2d47732
commit
48a3e34e16
3 changed files with 35 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ struct driver {
|
|||
struct drv_array *mappings;
|
||||
struct drv_array *combos;
|
||||
bool compression;
|
||||
bool log_bos;
|
||||
};
|
||||
|
||||
struct backend {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue