gfx: drv: Rewrite the CRTC page flipping code to use the new drm_flip mechanism
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Feb 2012 13:02:35 +0000 (15:02 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:30:00 +0000 (12:30 +0300)
commit04d231a6b09b10db2aa4e65b29693b5670bc4842
treec75b1c18f9b7d8ea1adf9301dce92aaeffbf1050
parent18e129165b6b8d2c5f07f98d1e9fb8a2e4497801
gfx: drv: Rewrite the CRTC page flipping code to use the new drm_flip mechanism

The drm_flip mechanism allows us to track page flip progess, and thus
maintain proper reference counts on the backing memory and GTT mappings
while the buffers are being scanned out.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/psb_drv.c
drivers/staging/mrst/drv/psb_drv.h
drivers/staging/mrst/drv/psb_intel_display.c
drivers/staging/mrst/drv/psb_intel_drv.h
drivers/staging/mrst/drv/psb_page_flip.c
drivers/staging/mrst/drv/psb_page_flip.h