[Intel-gfx] [PATCH 1/8] drm: Pass in new and old plane state to prepare_fb and cleanup_fb

2015-03-04 Thread Rob Clark
On Tue, Mar 3, 2015 at 9:22 AM, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Use cases like rotation require these hooks to have some context so they > know how to prepare and cleanup the frame buffer correctly. > > For i915 specifically, object backing pages need to be mapped differently > f

[PATCH 1/8] drm: Pass in new and old plane state to prepare_fb and cleanup_fb

2015-03-03 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Use cases like rotation require these hooks to have some context so they know how to prepare and cleanup the frame buffer correctly. For i915 specifically, object backing pages need to be mapped differently for different rotation modes and the driver needs to know which mapp