Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-11-10 Thread Jesse Barnes
--- > >>>> From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] > >>>> On Behalf Of Jani Nikula Sent: Wednesday, September 24, 2014 > >>>> 10:08 AM To: Hans de Goede; Joe Konno; > >>>> intel-gfx@lists.freedesktop.org Subject: Re: [Inte

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-11-10 Thread Jani Nikula
f >>>> Of Jani Nikula >>>> Sent: Wednesday, September 24, 2014 10:08 AM >>>> To: Hans de Goede; Joe Konno; intel-gfx@lists.freedesktop.org >>>> Subject: Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA >>>> v2 >>>

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-11-10 Thread Jani Nikula
September 24, 2014 10:08 AM >>> To: Hans de Goede; Joe Konno; intel-gfx@lists.freedesktop.org >>> Subject: Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA >>> v2 >>> >>> On Wed, 24 Sep 2014, Hans de Goede wrote: >>>> Hi

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-11-08 Thread Eoff, Ullysses A
ntel-gfx@lists.freedesktop.org >> Subject: Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2 >> >> On Wed, 24 Sep 2014, Hans de Goede wrote: >>> Hi, >>> >>> On 09/24/2014 05:54 PM, Joe Konno wrote: >>>> From: Joe Konno >>>

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-09-29 Thread Eoff, Ullysses A
t; > > Sent: Monday, September 29, 2014 6:07 AM > > > To: Joe Konno; intel-gfx@lists.freedesktop.org > > > Subject: Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math > > > WA v2 > > > > > > On Wed, 24 Sep 2014, Joe Konno wrote: >

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-09-29 Thread Damien Lespiau
ntel-gfx@lists.freedesktop.org > > Subject: Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA > > v2 > > > > On Wed, 24 Sep 2014, Joe Konno wrote: > > > From: Joe Konno > > > > > > Improper truncated integer division in the scale()

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-09-29 Thread Chris Wilson
ntel-gfx@lists.freedesktop.org > > Subject: Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA > > v2 > > > > On Wed, 24 Sep 2014, Joe Konno wrote: > > > From: Joe Konno > > > > > > Improper truncated integer division in the scale()

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-09-29 Thread Eoff, Ullysses A
> -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of > Jani Nikula > Sent: Monday, September 29, 2014 6:07 AM > To: Joe Konno; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-09-29 Thread Jani Nikula
On Wed, 24 Sep 2014, Joe Konno wrote: > From: Joe Konno > > Improper truncated integer division in the scale() function causes > actual_brightness != brightness. This (partial) work-around should be > sufficient for a majority of use-cases, but it is by no means a complete > solution. > > TODO: D

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-09-26 Thread Eoff, Ullysses A
> -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of > Joe Konno > Sent: Wednesday, September 24, 2014 8:55 AM > To: intel-gfx@lists.freedesktop.org > Subject: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-09-24 Thread Eoff, Ullysses A
> -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of > Jani Nikula > Sent: Wednesday, September 24, 2014 10:08 AM > To: Hans de Goede; Joe Konno; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] drm/i91

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-09-24 Thread Jani Nikula
On Wed, 24 Sep 2014, Hans de Goede wrote: > Hi, > > On 09/24/2014 05:54 PM, Joe Konno wrote: >> From: Joe Konno >> >> Improper truncated integer division in the scale() function causes >> actual_brightness != brightness. This (partial) work-around should be >> sufficient for a majority of use-ca

Re: [Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-09-24 Thread Hans de Goede
Hi, On 09/24/2014 05:54 PM, Joe Konno wrote: > From: Joe Konno > > Improper truncated integer division in the scale() function causes > actual_brightness != brightness. This (partial) work-around should be > sufficient for a majority of use-cases, but it is by no means a complete > solution. >

[Intel-gfx] [PATCH] drm/i915: intel_backlight scale() math WA v2

2014-09-24 Thread Joe Konno
From: Joe Konno Improper truncated integer division in the scale() function causes actual_brightness != brightness. This (partial) work-around should be sufficient for a majority of use-cases, but it is by no means a complete solution. TODO: Determine how best to scale "user" values to "hw" valu