Re: [RFC][PATCH 5/5] drm_hwcomposer: HACK: Fix tearing on hikey/hikey960

2018-01-12 Thread Rob Herring
On Thu, Jan 11, 2018 at 11:20 PM, John Stultz wrote: > On Tue, Jan 9, 2018 at 10:05 PM, John Stultz wrote: >> When using drm_hwcomposer with the hikey/hikey960 boards, the >> resulting display shows lots of tearing. >> >> I'm not much of an expert in how this code should work, but it >> seems tha

Re: [RFC][PATCH 5/5] drm_hwcomposer: HACK: Fix tearing on hikey/hikey960

2018-01-11 Thread John Stultz
On Tue, Jan 9, 2018 at 10:05 PM, John Stultz wrote: > When using drm_hwcomposer with the hikey/hikey960 boards, the > resulting display shows lots of tearing. > > I'm not much of an expert in how this code should work, but it > seems that we never call sync_wait(), and thus don't seem to be > hand

[RFC][PATCH 5/5] drm_hwcomposer: HACK: Fix tearing on hikey/hikey960

2018-01-09 Thread John Stultz
When using drm_hwcomposer with the hikey/hikey960 boards, the resulting display shows lots of tearing. I'm not much of an expert in how this code should work, but it seems that we never call sync_wait(), and thus don't seem to be handling the fences properly? I'm not sure. Anyway, in a daze, I st