From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 82718C54788 for ; Wed, 21 Feb 2024 22:17:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 065CD10E73C; Wed, 21 Feb 2024 22:17:58 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=ucw.cz header.i=@ucw.cz header.b="ThTmacQ+"; dkim-atps=neutral Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0FB3510E73C for ; Wed, 21 Feb 2024 22:17:55 +0000 (UTC) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 61A0B1C0080; Wed, 21 Feb 2024 23:17:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1708553873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mCiY21dwg8agnszDbeKtSlu1VbMK1uasVv6xavoY4HU=; b=ThTmacQ+LWEH3D5zQEmviRVVyITf1+8WrPGagCpRAlALpWivU2AKw0VFzaiHD/prKLPI6R 9c2rrfxclMBi2FEdL2/lVosQ0LahH3rRLLYVQXyoF3V9k/k1Pr+oumE0upFXwC+jLnvLft ApT6fry3D1huFvoZ5xIqLJjrA6Hv2us= Date: Wed, 21 Feb 2024 23:17:52 +0100 From: Pavel Machek To: Werner Sembach Cc: Hans de Goede , Lee Jones , jikos@kernel.org, linux-kernel@vger.kernel.org, Jelle van der Waa , Miguel Ojeda , "dri-devel@lists.freedesktop.org" , linux-input@vger.kernel.org, ojeda@kernel.org, linux-leds@vger.kernel.org Subject: Re: Future handling of complex RGB devices on Linux v2 Message-ID: References: <0cdb78b1-7763-4bb6-9582-d70577781e61@tuxedocomputers.com> <7228f2c6-fbdd-4e19-b703-103b8535d77d@redhat.com> <730bead8-6e1d-4d21-90d2-4ee73155887a@tuxedocomputers.com> <952409e1-2f0e-4d7a-a7a9-3b78f2eafec7@redhat.com> <9851a06d-956e-4b57-be63-e10ff1fce8b4@tuxedocomputers.com> <1bc6d6f0-a13d-4148-80cb-9c13dec7ed32@redhat.com> <477d30ee-247e-47e6-bc74-515fd87fdc13@redhat.com> <247b5dcd-fda8-45a7-9896-eabc46568281@tuxedocomputers.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dAbXhNBZxMUy0vp0" Content-Disposition: inline In-Reply-To: <247b5dcd-fda8-45a7-9896-eabc46568281@tuxedocomputers.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --dAbXhNBZxMUy0vp0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > so after more feedback from the OpenRGB maintainers I came up with an even > more generic proposal: > https://gitlab.com/CalcProgrammer1/OpenRGB/-/issues/3916#note_1753072869 > >evaluate-set-command ioctl taking: > >{ > >=A0=A0=A0 enum command=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 /* one of = supported_commands */ > >=A0=A0=A0 union data > >=A0=A0=A0 { > >=A0=A0=A0 =A0=A0=A0 char raw[3072], > >=A0=A0=A0 =A0=A0=A0 { > >=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 > >=A0=A0=A0 =A0=A0=A0 }, Yeah, so ... this is not a interface. This is a backdoor to pass arbitrary data. That's not going to fly. For keyboards, we don't need complete new interface; we reasonable extensions over existing display APIs -- keyboards are clearly 2D. Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --dAbXhNBZxMUy0vp0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZdZ2kAAKCRAw5/Bqldv6 8h9zAKDEJUHJV0ZbVJCjUCqpMQaA0+xLowCfV5MWLs4adC4rSVD6cfTu5HRFilE= =PKVx -----END PGP SIGNATURE----- --dAbXhNBZxMUy0vp0--