Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/client: missing Fixes: trailer for cloned connector limit
  bug fix
--

commit 70845ef107919ca0aab749bd89d6bf859cd8b3c8
Author: Lin Tzu Yang <[email protected]>

> drm/client: limit cloned connectors per CRTC in drm_client_pick_crtcs()
>
> When a device has a single CRTC, drm_client_pick_crtcs() lets any
> number of connectors with the same mode share it. A modeset can only
> hold DRM_CLIENT_MAX_CLONED_CONNECTORS (8) connectors, so with nine or
> more such connectors drm_client_modeset_probe() hits
>
>         drm_WARN_ON_ONCE(dev, modeset->num_connectors ==
>                                 DRM_CLIENT_MAX_CLONED_CONNECTORS || ...)
>
> and gives up on the configuration.
>
> This is easy to reach with vkms, which allows up to 31 connectors per
> device through configfs: one plane, one CRTC, one encoder and nine
> connectors linked to that encoder trigger the warning when the device
> is enabled and fbdev is set up.
>
> Stop offering a CRTC as a clone target once it already has
> DRM_CLIENT_MAX_CLONED_CONNECTORS connectors, so the remaining
> connectors are left without a CRTC instead of producing a
> configuration that the probe code then rejects.
>
> Tested in an arm64 QEMU/KVM guest with vkms configured through
> configfs (1 CRTC, 1, 8, 9, 12, 16 and 18 connectors): before this
> change, enabling the device with 9 connectors printed the warning;
> with it, there is no warning for any of the counts and fbdev is still
> created for each device.
>
> Signed-off-by: Lin Tzu Yang <[email protected]>

[Severity: Low]
This fixes the fixed-size cloned connector array limit introduced by
d81294afeecd ("drm/fb-helper: Remove drm_fb_helper_crtc") and moved to
drm_client_modeset.c in cf13909aee05 ("drm/fb-helper: Move out modeset
config code").  Should this include a Fixes tag?

  Fixes: d81294afeecd ("drm/fb-helper: Remove drm_fb_helper_crtc")

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

Reply via email to