Re: [PATCH 00/14] GPU-DRM-OMAP: Fine-tuning for several function implementations

From: Daniel Vetter
Date: Thu Sep 22 2016 - 02:45:13 EST


On Wed, Sep 21, 2016 at 06:35:59PM +0200, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Wed, 21 Sep 2016 18:28:38 +0200
>
> Several update suggestions were taken into account
> from static source code analysis.

For the next pile of driver patches _please_ talk with driver maintainers
before starting to create&submit patches. Like I said I won't take them,
and many of your changes are not clear-cut at all, so I expect many driver
maintaines also won't take them. Again, your contributions are welcome,
but blindly following suggestions from code checkers in drivers you cant
test isn't really all that useful. At the scale you're doing it, I think
it's mostly wasting everyone's time :( I'd like to avoid that.

Thanks, Daniel
>
> Markus Elfring (14):
> Use kmalloc_array() in tiler_map_show()
> Replace another kmalloc() call by kmalloc_array() in tiler_map_show()
> Less function calls in tiler_map_show() after error detection
> Delete an unnecessary variable initialisation in tiler_map_show()
> Improve a size determination in dmm_txn_append()
> Improve a size determination in omap_dmm_probe()
> Rename a jump label in omap_dmm_probe()
> Rename a jump label in dmm_txn_commit()
> Delete an unnecessary variable initialisation in dmm_txn_commit()
> Use kmalloc_array() in omap_gem_attach_pages()
> Replace a kzalloc() call by kcalloc() in omap_gem_attach_pages()
> Move a variable assignment in omap_gem_attach_pages()
> Rename a jump label in omap_gem_new_dmabuf()
> Rename a jump label in four functions
>
> drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 58 ++++++++++++++++----------------
> drivers/gpu/drm/omapdrm/omap_gem.c | 44 +++++++++++-------------
> 2 files changed, 49 insertions(+), 53 deletions(-)
>
> --
> 2.10.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch