[PATCH] drm/i915: Fix legacy gamma lut updates in Linux 4.7-rc6

2016-07-14 Thread Mario Kleiner
Ok, so legacy gamma table updates are completely broken for Intel on Linux-4.7-rc7, the final release candidate. The good news is that applying Lionel's patch "drm/i915: add missing condition for committing planes on crtc" from https://patchwork.freedesktop.org/patch/89111/ fixes it nicely. T

[PATCH] drm/i915: Fix legacy gamma lut updates in Linux 4.7-rc6

2016-07-12 Thread Mario Kleiner
On 07/12/2016 05:02 PM, Lionel Landwerlin wrote: > On 12/07/16 13:11, Mario Kleiner wrote: >> On 07/12/2016 12:50 PM, Lionel Landwerlin wrote: >>> Hi Mario, >>> >> >> Hi Lionel, >> >>> There was a couple of patch to fix this issue : >>> >>> https://patchwork.freedesktop.org/series/5467/ >>> https:/

[PATCH] drm/i915: Fix legacy gamma lut updates in Linux 4.7-rc6

2016-07-12 Thread Lionel Landwerlin
On 12/07/16 13:11, Mario Kleiner wrote: > On 07/12/2016 12:50 PM, Lionel Landwerlin wrote: >> Hi Mario, >> > > Hi Lionel, > >> There was a couple of patch to fix this issue : >> >> https://patchwork.freedesktop.org/series/5467/ >> https://patchwork.freedesktop.org/series/5466/ >> > > Looking at the

[PATCH] drm/i915: Fix legacy gamma lut updates in Linux 4.7-rc6

2016-07-12 Thread Mario Kleiner
On 07/12/2016 12:50 PM, Lionel Landwerlin wrote: > Hi Mario, > Hi Lionel, > There was a couple of patch to fix this issue : > > https://patchwork.freedesktop.org/series/5467/ > https://patchwork.freedesktop.org/series/5466/ > Looking at them they should fix the issue, but they seem to be stuck i

[PATCH] drm/i915: Fix legacy gamma lut updates in Linux 4.7-rc6

2016-07-12 Thread Mario Kleiner
Updating legacy gamma tables, e.g., via RandR doesn't work at all as of Linux 4.7-rc6. Reason seems to be that the required call to drm_atomic_helper_commit_planes_on_crtc is skipped in intel_atomic_commit after userspace set new gamma tables, because neither crtc->state->planes_changed nor update

[PATCH] drm/i915: Fix legacy gamma lut updates in Linux 4.7-rc6

2016-07-12 Thread Lionel Landwerlin
Hi Mario, There was a couple of patch to fix this issue : https://patchwork.freedesktop.org/series/5467/ https://patchwork.freedesktop.org/series/5466/ I tested this late last week on drm-intel-nightly, it seems a series of revert fixed most of the issues. Cheers, - Lionel On 12/07/16 11:33,