[Intel-gfx] [PATCH 2/5] drm/i915: Do not read GAMMA_MODE register

2016-02-23 Thread Lionel Landwerlin
On 23/02/16 00:38, Matt Roper wrote: > On Mon, Feb 22, 2016 at 02:18:08PM +, Lionel Landwerlin wrote: >> Implement Daniel Stone's recommendation to not read registers to infer >> the hardware's state. >> >> Signed-off-by: Lionel Landwerlin > Do we need to ensure that software and hardware stat

[Intel-gfx] [PATCH 2/5] drm/i915: Do not read GAMMA_MODE register

2016-02-23 Thread Matt Roper
On Tue, Feb 23, 2016 at 10:36:36AM +, Lionel Landwerlin wrote: > On 23/02/16 00:38, Matt Roper wrote: > >On Mon, Feb 22, 2016 at 02:18:08PM +, Lionel Landwerlin wrote: > >>Implement Daniel Stone's recommendation to not read registers to infer > >>the hardware's state. > >> > >>Signed-off-by

[Intel-gfx] [PATCH 2/5] drm/i915: Do not read GAMMA_MODE register

2016-02-22 Thread Matt Roper
On Mon, Feb 22, 2016 at 02:18:08PM +, Lionel Landwerlin wrote: > Implement Daniel Stone's recommendation to not read registers to infer > the hardware's state. > > Signed-off-by: Lionel Landwerlin Do we need to ensure that software and hardware state are synchronized at startup? A boot firm