On Tue, Feb 27, 2018 at 1:56 PM, Ville Syrjala ville.syrjala@linux.intel.com wrote:
From: Ville Syrjälä ville.syrjala@linux.intel.com
Currently we have a mix of static and dynamic information stored in the display info structure. That makes it rather difficult to repopulate the dynamic parts when a new EDID appears. Let's make life easier by splitting the structure up into static and dynamic parts.
The static part will consist of subpixel_order, panel_orientation, and bus_formats.
Actually I'm not sure where bus_formats & co. fit in all this. For some drivers those seem to be static, even though they might fill them out from .get_modes(). For other drivers this stuff even gets frobbed at runtime, making it more some kind of a bastard encoder/connector state. I'll just stick it into the static side so that the behaviour doesn't change when I start clear out the entire dynamic state with memset().
Cc: Keith Packard keithp@keithp.com Cc: Daniel Vetter daniel.vetter@ffwll.ch Cc: Hans de Goede hdegoede@redhat.com Cc: Shashank Sharma shashank.sharma@intel.com Cc: Stefan Agner stefan@agner.ch Cc: Thierry Reding thierry.reding@gmail.com Cc: Boris Brezillon boris.brezillon@bootlin.com Cc: Philipp Zabel p.zabel@pengutronix.de Cc: Laurent Pinchart laurent.pinchart@ideasonboard.com Cc: Manfred Schlaegl manfred.schlaegl@gmx.at Cc: Marek Vasut marex@denx.de Cc: Archit Taneja architt@codeaurora.org Cc: Andrzej Hajda a.hajda@samsung.com Cc: Alison Wang alison.wang@freescale.com Cc: Eric Anholt eric@anholt.net Cc: Linus Walleij linus.walleij@linaro.org Cc: linux-renesas-soc@vger.kernel.org Cc: Maxime Ripard maxime.ripard@bootlin.com Signed-off-by: Ville Syrjälä ville.syrjala@linux.intel.com
Acked-by: Linus Walleij linus.walleij@linaro.org
Yours, Linus Walleij