search for: map_mode

Displaying 3 results from an estimated 3 matches for "map_mode".

Did you mean: fan_mode
2024 Oct 04
1
[PATCH v2 1/2] drm/ttm: Change ttm_device_init to use a struct instead of multiple bools
...> > > vmw_private > > > *dev_priv, u32 pci_id) > > > ?? ????? dev_priv->drm.dev, > > > ?? ????? dev_priv->drm.anon_inode- > > > >i_mapping, > > > ?? ????? dev_priv->drm.vma_offset_manager, > > > - ????? dev_priv->map_mode == > > > vmw_dma_alloc_coherent, > > > - ????? false); > > > + ????? (struct ttm_device_init_flags) > > > + ????? {.use_dma_alloc = (dev_priv- > > > > map_mode == vmw_dma_alloc_coherent)}); > > > ?? if (unlikely(ret != 0)) { > > &...
2024 Oct 05
1
[PATCH v2 1/2] drm/ttm: Change ttm_device_init to use a struct instead of multiple bools
...t; > > > *dev_priv, u32 pci_id) > > > > ?? ????? dev_priv->drm.dev, > > > > ?? ????? dev_priv->drm.anon_inode- > > > > >i_mapping, > > > > ?? ????? dev_priv->drm.vma_offset_manager, > > > > - ????? dev_priv->map_mode == > > > > vmw_dma_alloc_coherent, > > > > - ????? false); > > > > + ????? (struct ttm_device_init_flags) > > > > + ????? {.use_dma_alloc = (dev_priv- > > > > > map_mode == vmw_dma_alloc_coherent)}); > > > > ?? if (unl...
2024 Oct 02
2
[PATCH v2 0/2] drm/ttm: Add an option to report graphics memory OOM
Some graphics APIs differentiate between out-of-graphics-memory and out-of-host-memory (system memory). Add a device init flag to have -ENOSPC propagated from the resource managers instead of being converted to -ENOMEM, to aid driver stacks in determining what error code to return or whether corrective action can be taken at the driver level. The first patch deals with a ttm_device_init()