[RFC 8/9] HACK: drm/msm/mdp5: Add support for legacy cursor updates

2016-12-21 Thread Archit Taneja
On 12/20/2016 07:10 PM, Maarten Lankhorst wrote: > Op 20-12-16 om 07:23 schreef Archit Taneja: >> >> >> On 12/19/2016 06:20 PM, Maarten Lankhorst wrote: >>> Op 19-12-16 om 13:08 schreef Archit Taneja: This code has been more or less picked up from the vc4 and intel implementations of up

[RFC 8/9] HACK: drm/msm/mdp5: Add support for legacy cursor updates

2016-12-20 Thread Maarten Lankhorst
Op 20-12-16 om 07:23 schreef Archit Taneja: > > > On 12/19/2016 06:20 PM, Maarten Lankhorst wrote: >> Op 19-12-16 om 13:08 schreef Archit Taneja: >>> This code has been more or less picked up from the vc4 and intel >>> implementations of update_plane() funcs for cursor planes. >>> >>> The update_pl

[RFC 8/9] HACK: drm/msm/mdp5: Add support for legacy cursor updates

2016-12-20 Thread Archit Taneja
On 12/19/2016 06:20 PM, Maarten Lankhorst wrote: > Op 19-12-16 om 13:08 schreef Archit Taneja: >> This code has been more or less picked up from the vc4 and intel >> implementations of update_plane() funcs for cursor planes. >> >> The update_plane() func is usually the drm_atomic_helper_update_pl

[RFC 8/9] HACK: drm/msm/mdp5: Add support for legacy cursor updates

2016-12-19 Thread Daniel Vetter
On Mon, Dec 19, 2016 at 05:00:49PM +0100, Daniel Vetter wrote: > On Mon, Dec 19, 2016 at 05:38:57PM +0530, Archit Taneja wrote: > > @@ -873,6 +894,81 @@ static int mdp5_plane_mode_set(struct drm_plane *plane, > > return ret; > > } > > > > +static int mdp5_update_cursor_plane_legacy(struct dr

[RFC 8/9] HACK: drm/msm/mdp5: Add support for legacy cursor updates

2016-12-19 Thread Archit Taneja
This code has been more or less picked up from the vc4 and intel implementations of update_plane() funcs for cursor planes. The update_plane() func is usually the drm_atomic_helper_update_plane func that will issue an atomic commit with the plane updates. Such commits are not intended to be done f

[RFC 8/9] HACK: drm/msm/mdp5: Add support for legacy cursor updates

2016-12-19 Thread Daniel Vetter
On Mon, Dec 19, 2016 at 05:38:57PM +0530, Archit Taneja wrote: > This code has been more or less picked up from the vc4 and intel > implementations of update_plane() funcs for cursor planes. > > The update_plane() func is usually the drm_atomic_helper_update_plane > func that will issue an atomic

[RFC 8/9] HACK: drm/msm/mdp5: Add support for legacy cursor updates

2016-12-19 Thread Maarten Lankhorst
Op 19-12-16 om 13:08 schreef Archit Taneja: > This code has been more or less picked up from the vc4 and intel > implementations of update_plane() funcs for cursor planes. > > The update_plane() func is usually the drm_atomic_helper_update_plane > func that will issue an atomic commit with the plan