Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755644AbbBGLZP (ORCPT ); Sat, 7 Feb 2015 06:25:15 -0500 Received: from down.free-electrons.com ([37.187.137.238]:45941 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753290AbbBGLZN (ORCPT ); Sat, 7 Feb 2015 06:25:13 -0500 Date: Sat, 7 Feb 2015 12:20:43 +0100 From: Maxime Ripard To: niederp@physik.uni-kl.de Cc: linux-fbdev@vger.kernel.org, plagnioj@jcrosoft.com, tomi.valkeinen@ti.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/8] fbdev: ssd1307fb: Add module parameter bitsperpixel. Message-ID: <20150207112043.GO2079@lukather> References: <1423261694-5939-1-git-send-email-niederp@physik.uni-kl.de> <1423261694-5939-6-git-send-email-niederp@physik.uni-kl.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xexMVKTdXPhpRiVT" Content-Disposition: inline In-Reply-To: <1423261694-5939-6-git-send-email-niederp@physik.uni-kl.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2101 Lines: 58 --xexMVKTdXPhpRiVT Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 06, 2015 at 11:28:11PM +0100, niederp@physik.uni-kl.de wrote: > From: Thomas Niederpr=FCm >=20 > This patch adds a module parameter 'bitsperpixel' to adjust the colordepth > of the framebuffer. All values >1 will result in memory map of the reques= ted > color depth. However only the MSB of each pixel will be sent to the devic= e. > The framebuffer identifies itself as a grayscale display with the specifi= ed > depth. I'm not sure this is the right thing to do. The bits per pixel for this display is rightfully defined, used and reported to the userspace, why would you want to change that? Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --xexMVKTdXPhpRiVT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJU1fULAAoJEBx+YmzsjxAgPgYP/3UliHEtqHSoZrdE64XPmbeC d964k87PyA1I3xoH8XiULUrz6osA8bKFcbCKZzp7nyMteZhlseqT+DW7wRuzn0WM 7LHkYf/KT4KC4xPkRrL+f4LxPr5tSxj+3yiRmFbfsb4gIhVLhDJmxzlnTZSTQyxg ziqAZAsOhoumgRv1aAtEwDiUsxcOFjqumQPnD/Ng6JFV7VyJyJEEYeAW3sjG1uc9 AdkxTir7WCc0whdiGYuhKAheeP1S5jBykCfQl/IrLWgD7T437VHXn0ju6wurk8Ls 6Ne02KJ/DIDDGocdsd/VFU21XdoBjyVPc5RwcQWj8rVy4ccdnyCzyjz2Q0kIoENi yiv3HPsjnXq1E7Au0+gKb/X+7o37W3ZOVW4I5p2TD/dBJjRtN2AX1IaHsOMhH0l9 2sd1m9M/1yECIeW0iQVb3VM+4LCjraLPjZMDQRFgdwNvc8ZIaYR8hXtTdVMsOB40 84bvpNGizNCxyTMsElBu+QX52Qr0gZJsXbSKAYlT4OxKiPkwasDCdXDfGKgCWSmX QBkXluaYqdJtdZ2otRHGNBzJZfbkRwECnVAQZYsWHMql9TxQi1LViRPEnTFkSKQA aAj7P2fNoO6KhQAcbvQjo0nqwZs5Z4AEUR5kcA1af07uYMqi1qbJdFNz+hjp2iMc WQvAloOywA+IV0cPNMGI =Ga0g -----END PGP SIGNATURE----- --xexMVKTdXPhpRiVT-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/