]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Add a debug callback to mobid resource manager
authorZack Rusin <zackr@vmware.com>
Mon, 6 Dec 2021 17:26:10 +0000 (12:26 -0500)
committerZack Rusin <zackr@vmware.com>
Thu, 9 Dec 2021 18:16:15 +0000 (13:16 -0500)
commit653c6625815c6ec3c0d3917cf6f39c65f265f5cb
tree01506ee8edfb9f2b95dfb81e1aae9b2fd90b809f
parent59699c158ef075509699d75d7487b360eaff53ec
drm/vmwgfx: Add a debug callback to mobid resource manager

Mob/GMR id resource manager was lacking the debug print callback
which meant that during memory errors we weren't getting the details
which are needed to fix those errors.

Kernel logs need to contain the information about used/max pages
by the Mob/GMR id resource manager as well as the maximum number
of id's they're allowed to allocate.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211206172620.3139754-3-zack@kde.org
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c