On 23/02/16 00:38, Matt Roper wrote:
On Mon, Feb 22, 2016 at 02:18:08PM +0000, Lionel Landwerlin wrote:
Implement Daniel Stone's recommendation to not read registers to infer
the hardware's state.

Signed-off-by: Lionel Landwerlin <[email protected]>
Do we need to ensure that software and hardware state are synchronized
at startup?  A boot firmware might have set it to something different
before our driver starts up; if we use 'fastboot' then we might not do
any modesets and might wind up with 0 (8BIT) in our state variable, but
something else actually programmed into the hardware.


Matt

Thanks Matt,

It makes sense know, I couldn't understand why this would ever be at something different that 8bit mode... I guess the value should be read from the intel_color_init() function upon startup.

-
Lionel
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to