Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/atomic_sro: missing linux/types.h include in readout helper
  header
--

commit 160ed062541d8710e5efc0797d1320aa912540b0
Author: Maxime Ripard <[email protected]>

drm/atomic_sro: Provide helpers to implement hardware state readout

This commit adds KMS helpers to build, install, and read out atomic
hardware state, along with a helper to create a DMA GEM object for a
read-out buffer.

> diff --git a/include/drm/drm_atomic_state_readout_helper.h 
> b/include/drm/drm_atomic_state_readout_helper.h
> new file mode 100644
> index 0000000000000..315a541412498
> --- /dev/null
> +++ b/include/drm/drm_atomic_state_readout_helper.h
> @@ -0,0 +1,41 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +
> +#ifndef DRM_ATOMIC_SRO_HELPER_H_
> +#define DRM_ATOMIC_SRO_HELPER_H_
> +
> +struct drm_atomic_commit;
> +struct drm_atomic_sro_state;
> +struct drm_device;
> +struct drm_gem_dma_object;
> +
> +struct drm_gem_dma_object *
> +drm_atomic_helper_sro_create_gem_dma_object(struct drm_device *dev,
> +                                         dma_addr_t dma_addr, size_t size);

[Severity: Low]
Does this header need to include <linux/types.h> for dma_addr_t and
size_t?  Without it, standalone header compilation under
CONFIG_DRM_HEADER_TEST=y fails with unknown type name errors.  A later
patch in the series, commit "drm/atomic-state-helper: Provide comparison
macros", pulls it in transitively via <linux/string_choices.h>, but the
build fails at this commit and the three following commits.

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=12

Reply via email to