Re: [PATCH] drm/cma-helper: Make default object functions the default

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

 



Hi Thomas.

On Fri, Nov 06, 2020 at 02:16:32PM +0100, Thomas Zimmermann wrote:
> As GEM object functions are now mandatory, DRM drivers based on CMA
> helpers either set them in their implementation of gem_create_object,
> or use the default via drm_gem_cma_create_object_default_funcs().
> 
> Simplify this by setting the default CMA object functions for all
> objects that don't have any functions of their own. Follows the pattern
> of similar code in SHMEM and VRAM helpers. The function
> drm_gem_cma_create_object_default_funcs() is redundant and therefore
> being removed.
> 
> Signed-off-by: Thomas Zimmermann <tzimmermann@xxxxxxx>

Nice cleanup after all the groundwork you made in order to reach this
step. 

Reviewed-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

	Sam
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[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