Re: [PATCH 04/33] drm/amd/display: Use 4096 lut entries

2018-03-01 Thread Harry Wentland
On 2018-02-27 11:44 AM, Michel Dänzer wrote: > On 2018-02-27 05:16 PM, Harry Wentland wrote: >> On 2018-02-27 11:08 AM, Michel Dänzer wrote: >>> On 2018-02-27 04:54 PM, Leo Li wrote: On 2018-02-27 05:34 AM, Michel Dänzer wrote: > On 2018-02-26 09:15 PM, Harry Wentland wrote: >> From: "

Re: [PATCH 04/33] drm/amd/display: Use 4096 lut entries

2018-02-27 Thread Michel Dänzer
On 2018-02-27 05:16 PM, Harry Wentland wrote: > On 2018-02-27 11:08 AM, Michel Dänzer wrote: >> On 2018-02-27 04:54 PM, Leo Li wrote: >>> On 2018-02-27 05:34 AM, Michel Dänzer wrote: On 2018-02-26 09:15 PM, Harry Wentland wrote: > From: "Leo (Sunpeng) Li" > > Non-legacy LUT size s

Re: [PATCH 04/33] drm/amd/display: Use 4096 lut entries

2018-02-27 Thread Harry Wentland
On 2018-02-27 11:08 AM, Michel Dänzer wrote: > On 2018-02-27 04:54 PM, Leo Li wrote: >> On 2018-02-27 05:34 AM, Michel Dänzer wrote: >>> On 2018-02-26 09:15 PM, Harry Wentland wrote: From: "Leo (Sunpeng) Li" Non-legacy LUT size should reflect hw capability. Change size from 256

Re: [PATCH 04/33] drm/amd/display: Use 4096 lut entries

2018-02-27 Thread Michel Dänzer
On 2018-02-27 04:54 PM, Leo Li wrote: > On 2018-02-27 05:34 AM, Michel Dänzer wrote: >> On 2018-02-26 09:15 PM, Harry Wentland wrote: >>> From: "Leo (Sunpeng) Li" >>> >>> Non-legacy LUT size should reflect hw capability. Change size from 256 >>> to 4096. >>> >>> However, X doesn't seem to play wit

Re: [PATCH 04/33] drm/amd/display: Use 4096 lut entries

2018-02-27 Thread Leo Li
On 2018-02-27 05:34 AM, Michel Dänzer wrote: On 2018-02-26 09:15 PM, Harry Wentland wrote: From: "Leo (Sunpeng) Li" Non-legacy LUT size should reflect hw capability. Change size from 256 to 4096. However, X doesn't seem to play with legacy LUTs of such size. Therefore, check for legacy lut

Re: [PATCH 04/33] drm/amd/display: Use 4096 lut entries

2018-02-27 Thread Michel Dänzer
On 2018-02-26 09:15 PM, Harry Wentland wrote: > From: "Leo (Sunpeng) Li" > > Non-legacy LUT size should reflect hw capability. Change size from 256 > to 4096. > > However, X doesn't seem to play with legacy LUTs of such size. > Therefore, check for legacy lut when updating DC states, and update

[PATCH 04/33] drm/amd/display: Use 4096 lut entries

2018-02-26 Thread Harry Wentland
From: "Leo (Sunpeng) Li" Non-legacy LUT size should reflect hw capability. Change size from 256 to 4096. However, X doesn't seem to play with legacy LUTs of such size. Therefore, check for legacy lut when updating DC states, and update accordingly. v2: Use a macro for the maximum drm LUT value.