diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-02 17:16:32 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-04 23:57:26 +0000 |
commit | 8e4ff9b569572880b65d58976bb701a40ef1d9c4 (patch) | |
tree | 914eda35fd9a24e7709856db81cadfea08c1d7d2 /include/drm/drm_legacy.h | |
parent | ea36ec8623f56791c6ff6738d0509b7920f85220 (diff) | |
download | linux-stable-8e4ff9b569572880b65d58976bb701a40ef1d9c4.tar.gz linux-stable-8e4ff9b569572880b65d58976bb701a40ef1d9c4.tar.bz2 linux-stable-8e4ff9b569572880b65d58976bb701a40ef1d9c4.zip |
drm: Remove the dma_alloc_coherent wrapper for internal usage
Internally for "consistent" maps, we create a temporary struct
drm_dma_handle in order to use our own dma_alloc_coherent wrapper then
destroy the temporary wrap. Simplify our logic by removing the temporary
wrapper!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200202171635.4039044-2-chris@chris-wilson.co.uk
Diffstat (limited to 'include/drm/drm_legacy.h')
-rw-r--r-- | include/drm/drm_legacy.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/drm/drm_legacy.h b/include/drm/drm_legacy.h index 5745710453c8..dcef3598f49e 100644 --- a/include/drm/drm_legacy.h +++ b/include/drm/drm_legacy.h @@ -194,17 +194,11 @@ void drm_legacy_idlelock_release(struct drm_lock_data *lock); #ifdef CONFIG_PCI -void __drm_legacy_pci_free(struct drm_device *dev, drm_dma_handle_t * dmah); int drm_legacy_pci_init(struct drm_driver *driver, struct pci_driver *pdriver); void drm_legacy_pci_exit(struct drm_driver *driver, struct pci_driver *pdriver); #else -static inline void __drm_legacy_pci_free(struct drm_device *dev, - drm_dma_handle_t *dmah) -{ -} - static inline int drm_legacy_pci_init(struct drm_driver *driver, struct pci_driver *pdriver) { |