diff options
| author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2024-06-26 18:22:52 -0400 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2024-06-26 18:22:52 -0400 |
| commit | 8664e7637388c013f4e953371d023ec7c2d84c8d (patch) | |
| tree | 49eecfd0934c909dff42c54c7850cc02c63f650f /include/drm/drm_fbdev_shmem.h | |
| parent | 33991ae8f40a8245f68e8e442766bf9072eaaa2a (diff) | |
| parent | 541b1b0a8fc235bca355921eb7f3f59a8efa3e9a (diff) | |
Merge drm/drm-next into drm-xe-next
Need to sync some header include that propagated through
drm-intel-next.
v2: After some changes in drm/drm-next
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/drm/drm_fbdev_shmem.h')
| -rw-r--r-- | include/drm/drm_fbdev_shmem.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/drm/drm_fbdev_shmem.h b/include/drm/drm_fbdev_shmem.h new file mode 100644 index 000000000000..fb43cadd1950 --- /dev/null +++ b/include/drm/drm_fbdev_shmem.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: MIT */ + +#ifndef DRM_FBDEV_SHMEM_H +#define DRM_FBDEV_SHMEM_H + +struct drm_device; + +#ifdef CONFIG_DRM_FBDEV_EMULATION +void drm_fbdev_shmem_setup(struct drm_device *dev, unsigned int preferred_bpp); +#else +static inline void drm_fbdev_shmem_setup(struct drm_device *dev, unsigned int preferred_bpp) +{ } +#endif + +#endif |
