Re: [PATCH] amdgpu/dc: Use DRM new-style object iterators.

2017-10-12 Thread Leo
On 2017-10-12 02:00 AM, Maarten Lankhorst wrote: Op 11-10-17 om 22:40 schreef Harry Wentland: On 2017-10-11 03:46 PM, Maarten Lankhorst wrote: Op 11-10-17 om 20:55 schreef Leo: On 2017-10-11 10:30 AM, Maarten Lankhorst wrote: Op 11-10-17 om 16:24 schreef sunpeng...@amd.com: From: "Leo (Su

Re: [PATCH] amdgpu/dc: Use DRM new-style object iterators.

2017-10-11 Thread Maarten Lankhorst
Op 11-10-17 om 22:40 schreef Harry Wentland: > On 2017-10-11 03:46 PM, Maarten Lankhorst wrote: >> Op 11-10-17 om 20:55 schreef Leo: >>> >>> On 2017-10-11 10:30 AM, Maarten Lankhorst wrote: Op 11-10-17 om 16:24 schreef sunpeng...@amd.com: > From: "Leo (Sunpeng) Li" > > Use the cor

Re: [PATCH] amdgpu/dc: Use DRM new-style object iterators.

2017-10-11 Thread Harry Wentland
On 2017-10-11 03:46 PM, Maarten Lankhorst wrote: > Op 11-10-17 om 20:55 schreef Leo: >> >> >> On 2017-10-11 10:30 AM, Maarten Lankhorst wrote: >>> Op 11-10-17 om 16:24 schreef sunpeng...@amd.com: From: "Leo (Sunpeng) Li" Use the correct for_each_new/old_* iterators instead of for_ea

Re: [PATCH] amdgpu/dc: Use DRM new-style object iterators.

2017-10-11 Thread Maarten Lankhorst
Op 11-10-17 om 20:55 schreef Leo: > > > On 2017-10-11 10:30 AM, Maarten Lankhorst wrote: >> Op 11-10-17 om 16:24 schreef sunpeng...@amd.com: >>> From: "Leo (Sunpeng) Li" >>> >>> Use the correct for_each_new/old_* iterators instead of for_each_* >>> >>> List of affected functions: >>> >>> amdgpu_dm

Re: [PATCH] amdgpu/dc: Use DRM new-style object iterators.

2017-10-11 Thread Leo
On 2017-10-11 10:30 AM, Maarten Lankhorst wrote: Op 11-10-17 om 16:24 schreef sunpeng...@amd.com: From: "Leo (Sunpeng) Li" Use the correct for_each_new/old_* iterators instead of for_each_* List of affected functions: amdgpu_dm_find_first_crtc_matching_connector: use for_each_new - Ol

RE: [PATCH] amdgpu/dc: Use DRM new-style object iterators.

2017-10-11 Thread Deucher, Alexander
, Harry; dri-devel@lists.freedesktop.org > Subject: Re: [PATCH] amdgpu/dc: Use DRM new-style object iterators. > > Op 11-10-17 om 16:24 schreef sunpeng...@amd.com: > > From: "Leo (Sunpeng) Li" > > > > Use the correct for_each_new/old_* iterators i

[PATCH] amdgpu/dc: Use DRM new-style object iterators.

2017-10-11 Thread sunpeng.li
From: "Leo (Sunpeng) Li" Use the correct for_each_new/old_* iterators instead of for_each_* List of affected functions: amdgpu_dm_find_first_crtc_matching_connector: use for_each_new - Old from_state_var flag was always choosing the new state amdgpu_dm_display_resume: use for_each_new

Re: [PATCH] amdgpu/dc: Use DRM new-style object iterators.

2017-10-11 Thread Maarten Lankhorst
Op 11-10-17 om 16:24 schreef sunpeng...@amd.com: > From: "Leo (Sunpeng) Li" > > Use the correct for_each_new/old_* iterators instead of for_each_* > > List of affected functions: > > amdgpu_dm_find_first_crtc_matching_connector: use for_each_new > - Old from_state_var flag was always choosing