@@ -1630,6 +1630,13 @@ static int vmw_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
{
struct vmw_private *vmw;
int ret;
+ const char * const ttm_placement_names[] = {
+ [TTM_PL_SYSTEM] = "system_ttm",
+ [TTM_PL_VRAM] = "vram_ttm",
+ [VMW_PL_GMR] = "gmr_ttm",
+ [VMW_PL_MOB] = "mob_ttm",
+ [VMW_PL_SYSTEM] = "system_mob_ttm"
+ };
ret = drm_aperture_remove_conflicting_pci_framebuffers(pdev, &driver);
if (ret)
@@ -1657,6 +1664,9 @@ static int vmw_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
goto out_unload;
vmw_debugfs_gem_init(vmw);
+ ttm_resource_manager_debugfs_init(&vmw->bdev,
+ ttm_placement_names,
+ ARRAY_SIZE(ttm_placement_names));
return 0;
out_unload: