[PATCH i-g-t v2 2/4] lib/kms: Adjust forced_connectors[] traversal
Joshi, Kunal1
kunal1.joshi at intel.com
Sun Apr 14 05:56:44 UTC 2024
On 4/12/2024 12:04 AM, Ville Syrjala wrote:
> From: Ville Syrjälä<ville.syrjala at linux.intel.com>
>
> Get rid of the sentinel in forced_comnectors[] and just
> use ARRAY_SIZE() to determine the limits.
>
> The sentinel stuff actually looks broken due to the use of
> ARRAY_SIZE() in forced_connector_free_index(), which was
> apparently my doing in
> commit ed6539ced33e ("lib/igt_kms: Rework forced connector handling")
>
> Cc: Kunal Joshi<kunal1.joshi at intel.com>
> Signed-off-by: Ville Syrjälä<ville.syrjala at linux.intel.com>
LGTM
Reviewed-by: Kunal Joshi <kunal1.joshi at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20240414/c0984a58/attachment.htm>
More information about the igt-dev
mailing list