Re: [PATCH drm-misc-next v7 0/5] drm: rename CMA helpers to DMA helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Danilo,

On Tue, Aug 02, 2022 at 02:04:00AM +0200, Danilo Krummrich wrote:
> This patch series renames all CMA helpers to DMA helpers - considering the
> hierarchy of APIs (mm/cma -> dma -> gem/fb dma helpers) calling them DMA
> helpers seems to be more applicable.
> 
> Additionally, commit e57924d4ae80 ("drm/doc: Task to rename CMA helpers")
> requests to rename the CMA helpers and implies that people seem to be confused
> about the naming.
> 
> The patches are compile-time tested building a x86_64 kernel with
> `make allyesconfig && make drivers/gpu/drm`.
> 
> Changes in v2:
>   - Fixed up comments for consistent memory/address classification
>     (DMA-contiguous)
>   - Added a patch to rename struct drm_gem_dma_object.{paddr => dma_addr}
> 
> Changes in v3:
>   - Use a ccoccinelle script for
>     "drm/gem: rename struct drm_gem_dma_object.{paddr => dma_addr}" for fixing
>     up missing drivers and compile-test on x86_64, arm and arm64.
> 
> Changes in v4:
>   - Rebased all patches on drm-misc/drm-misc-next.
> 
> Changes in v5:
>   - Rebase of v4, meanwhile some merge conflicts came up on
>     drm-misc/drm-misc-next.
> 
> Changes in v6:
>   - Added a patch to remove unused include occurances of drm_fb_cma_helper.h
>     in various drivers.
> 
> Changes in v7:
>   - Fix `select DRM_KMS_{CMA => DMA}_HELPER` and
>         `select DRM_GEM_{CMA => DMA}_HELPER` in
>     drivers/gpu/drm/logicvc/Kconfig and drivers/gpu/drm/mxsfb/Kconfig which
>     slipped through in a rebase.
>   - Another rebase.
> 
> Danilo Krummrich (5):
>   drm/fb: remove unused includes of drm_fb_cma_helper.h
>   drm/fb: rename FB CMA helpers to FB DMA helpers
>   drm/gem: rename GEM CMA helpers to GEM DMA helpers
>   drm/gem: rename struct drm_gem_dma_object.{paddr => dma_addr}
>   drm/todo: remove task to rename CMA helpers

Thanks for looking into this task!
The patches are now applied to drm-misc (drm-misc-next).

	Sam



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux