Re: [PATCH xf86-video-amdgpu 3/5] Keep CRTC properties consistent

2018-04-13 Thread Michel Dänzer
On 2018-04-12 06:48 PM, Leo Li wrote: > > A side question: How does xrandr display lengthy properties, like LUTs? Presumably it would be displayed the same way as the EDID property, e.g.: EDID: 000022f06f3201010101 181b0103803420782a4ca5a7554da2

Re: [PATCH xf86-video-amdgpu 3/5] Keep CRTC properties consistent

2018-04-12 Thread Leo Li
On 2018-04-12 06:30 AM, Michel Dänzer wrote: On 2018-04-11 11:26 PM, Leo Li wrote: On 2018-04-11 04:39 AM, Michel Dänzer wrote: Hmm. So either legacy or non-legacy clients won't work at all, or they'll step on each other's toes, clobbering the HW gamma LUT from each other. I'm afraid neithe

Re: [PATCH xf86-video-amdgpu 3/5] Keep CRTC properties consistent

2018-04-12 Thread Michel Dänzer
On 2018-04-11 11:26 PM, Leo Li wrote: > On 2018-04-11 04:39 AM, Michel Dänzer wrote: >> >> Hmm. So either legacy or non-legacy clients won't work at all, or >> they'll step on each other's toes, clobbering the HW gamma LUT from >> each other. >> >> I'm afraid neither of those alternatives sound

Re: [PATCH xf86-video-amdgpu 3/5] Keep CRTC properties consistent

2018-04-11 Thread Leo Li
On 2018-04-11 04:39 AM, Michel Dänzer wrote: On 2018-04-10 08:02 PM, Leo Li wrote: On 2018-04-09 11:03 AM, Michel Dänzer wrote: On 2018-03-26 10:00 PM, sunpeng...@amd.com wrote: From: "Leo (Sunpeng) Li" In cases where CRTC properties are updated without going through RRChangeOutputProperty

Re: [PATCH xf86-video-amdgpu 3/5] Keep CRTC properties consistent

2018-04-11 Thread Michel Dänzer
On 2018-04-10 08:02 PM, Leo Li wrote: > On 2018-04-09 11:03 AM, Michel Dänzer wrote: >> On 2018-03-26 10:00 PM, sunpeng...@amd.com wrote: >>> From: "Leo (Sunpeng) Li" >>> >>> In cases where CRTC properties are updated without going through >>> RRChangeOutputProperty, we don't update the properties

Re: [PATCH xf86-video-amdgpu 3/5] Keep CRTC properties consistent

2018-04-10 Thread Leo Li
On 2018-04-09 11:03 AM, Michel Dänzer wrote: On 2018-03-26 10:00 PM, sunpeng...@amd.com wrote: From: "Leo (Sunpeng) Li" In cases where CRTC properties are updated without going through RRChangeOutputProperty, we don't update the properties in user land. Consider setting legacy gamma. It doe

Re: [PATCH xf86-video-amdgpu 3/5] Keep CRTC properties consistent

2018-04-09 Thread Michel Dänzer
On 2018-03-26 10:00 PM, sunpeng...@amd.com wrote: > From: "Leo (Sunpeng) Li" > > In cases where CRTC properties are updated without going through > RRChangeOutputProperty, we don't update the properties in user land. > > Consider setting legacy gamma. It doesn't go through > RRChangeOutputProper

[PATCH xf86-video-amdgpu 3/5] Keep CRTC properties consistent

2018-03-26 Thread sunpeng.li
From: "Leo (Sunpeng) Li" In cases where CRTC properties are updated without going through RRChangeOutputProperty, we don't update the properties in user land. Consider setting legacy gamma. It doesn't go through RRChangeOutputProperty, but modifies the CRTC's color management properties. Unless