Re: [PATCH xserver 2/2] xf86RandR12: Fix XF86VidModeSetGamma triggering a BadImplementation error

2016-09-19 Thread Alex Deucher
On Mon, Sep 19, 2016 at 11:31 AM, Alex Deucher wrote: > On Sat, Sep 17, 2016 at 6:00 AM, Hans de Goede wrote: >> Commit b4e46c0444bb ("xfree86: Hook up colormaps and RandR 1.2 gamma code") >> dropped the providing of a pScrn->ChangeGamma callback from the xf86RandR12 >> code. Leaving pScrn->Chang

Re: [PATCH xserver 2/2] xf86RandR12: Fix XF86VidModeSetGamma triggering a BadImplementation error

2016-09-19 Thread Alex Deucher
On Sat, Sep 17, 2016 at 6:00 AM, Hans de Goede wrote: > Commit b4e46c0444bb ("xfree86: Hook up colormaps and RandR 1.2 gamma code") > dropped the providing of a pScrn->ChangeGamma callback from the xf86RandR12 > code. Leaving pScrn->ChangeGamma NULL in most cases. > > This triggers the BadImplemen

[PATCH xserver 2/2] xf86RandR12: Fix XF86VidModeSetGamma triggering a BadImplementation error

2016-09-17 Thread Hans de Goede
Commit b4e46c0444bb ("xfree86: Hook up colormaps and RandR 1.2 gamma code") dropped the providing of a pScrn->ChangeGamma callback from the xf86RandR12 code. Leaving pScrn->ChangeGamma NULL in most cases. This triggers the BadImplementation error in xf86ChangeGamma() : if (pScrn->ChangeGamma)