public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH -v4 0/4] split plane's updates functions into check() and commit()
@ 2014-09-05 20:04 Gustavo Padovan
  2014-09-05 20:04 ` [PATCH -v4 1/4] drm/i915: create struct intel_plane_state Gustavo Padovan
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Gustavo Padovan @ 2014-09-05 20:04 UTC (permalink / raw)
  To: intel-gfx; +Cc: Gustavo Padovan, dri-devel

From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>

This is the beginning of the work to prepare i915 for the upcoming
atomic modesetting API. Here we split the plane update fucntions in
the check and commit states.

v2: use struct intel_plane_state to keep states between check and
commit stages.

v3: take Ville's comments:
        - rename pstate to state
        - get rid of non-drm_rect coordinates in intel_plane_state
        - keep 'clip' const

v4: take more Ville's comments:
	- populates orig_dst and orig_src too
	- use orig_dst coordinates to program the cursor plane

Gustavo Padovan (4):
  drm/i915: create struct intel_plane_state
  drm/i915: split intel_update_plane into check() and commit()
  drm/i915: split intel_cursor_plane_update() into check() and commit()
  drm/i915: split intel_primary_plane_setplane() into check() and
    commit()

 drivers/gpu/drm/i915/intel_display.c | 240 +++++++++++++++++++++--------------
 drivers/gpu/drm/i915/intel_drv.h     |  12 ++
 drivers/gpu/drm/i915/intel_sprite.c  | 233 ++++++++++++++++++++--------------
 3 files changed, 298 insertions(+), 187 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-09-12  8:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05 20:04 [PATCH -v4 0/4] split plane's updates functions into check() and commit() Gustavo Padovan
2014-09-05 20:04 ` [PATCH -v4 1/4] drm/i915: create struct intel_plane_state Gustavo Padovan
2014-09-05 20:04 ` [PATCH -v4 2/4] drm/i915: split intel_update_plane into check() and commit() Gustavo Padovan
2014-09-11 16:42   ` [Intel-gfx] " Jani Nikula
2014-09-11 20:42     ` [PATCH] drm/i915: Fix regression in the sprite plane update split Gustavo Padovan
2014-09-12  7:12       ` Jani Nikula
2014-09-12  8:27         ` Daniel Vetter
2014-09-05 20:04 ` [PATCH -v4 3/4] drm/i915: split intel_cursor_plane_update() into check() and commit() Gustavo Padovan
2014-09-05 20:22   ` [PATCH -v5 " Gustavo Padovan
2014-09-05 20:04 ` [PATCH -v4 4/4] drm/i915: split intel_primary_plane_setplane() " Gustavo Padovan
2014-09-08 13:53 ` [Intel-gfx] [PATCH -v4 0/4] split plane's updates functions " Ville Syrjälä
2014-09-08 13:59 ` Ville Syrjälä
2014-09-08 16:32   ` [Intel-gfx] " Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox