Re: [PATCH 1/1] video: ARM CLCD: Add the framebuffer parameters setting in probe

From: Russell King - ARM Linux
Date: Sat Jan 02 2016 - 07:40:30 EST


On Wed, Dec 30, 2015 at 08:38:48AM +0800, Rongjun Ying wrote:
> This patch fixes the user space applications can't get the framebuffer
> parameters, if disable the fb console feature.
>
> Signed-off-by: Rongjun Ying <rjying@xxxxxxxxxx>

I think this behaviour is intentional: userspace is expected to
set the initial mode for non-console frame buffers by using
FBIOPUT_VSCREENINFO.

Otherwise, register_fb() would always set an initial mode on all
framebuffers.

I remember this being discussed years ago (more than a decade)
when the FB layer was relatively new.

--
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/