[PATCH 2/2] drm/amd/display: Fix for otg synchronization logic

Harry Wentland harry.wentland at amd.com
Wed Jan 12 16:25:55 UTC 2022



On 2022-01-12 10:53, Alex Deucher wrote:
> On Wed, Jan 12, 2022 at 9:28 AM Harry Wentland <harry.wentland at amd.com> wrote:
>>
>> From: Meenakshikumar Somasundaram <meenakshikumar.somasundaram at amd.com>
>>
>> [Why]
>> During otg sync trigger, plane states are used to decide whether the otg
>> is already synchronized or not. There are scenarions when otgs are
>> disabled without plane state getting disabled and in such case the otg is
>> excluded from synchronization.
>>
>> [How]
>> Introduced pipe_idx_syncd in pipe_ctx that tracks each otgs master pipe.
>> When a otg is disabled/enabled, pipe_idx_syncd is reset to itself.
>> On sync trigger, pipe_idx_syncd is checked to decide whether a otg is
>> already synchronized and the otg is further included or excluded from
>> synchronization.
>>
>> v2:
>>   Don't drop is_blanked logic
>>
>> Reviewed-by: Jun Lei <Jun.Lei at amd.com>
>> Reviewed-by: Mustapha Ghaddar <mustapha.ghaddar at amd.com>
>> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha at amd.com>
>> Signed-off-by: meenakshikumar somasundaram <meenakshikumar.somasundaram at amd.com>
>> Tested-by: Daniel Wheeler <daniel.wheeler at amd.com>
>> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
>> Signed-off-by: Harry Wentland <harry.wentland at amd.com>
>> Cc: torvalds at linux-foundation.org
> 
> Series is:
> Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> 

And merged. Thanks.

Harry



More information about the amd-gfx mailing list