drm/i915: Put update_state_fb() next to the fb update
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 5 Feb 2015 17:22:15 +0000 (17:22 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 22:28:03 +0000 (23:28 +0100)
commit5ba76c41e55c32f35224c956759fcdc154c78b1a
treee2de8aea2fd04452f4c820cd0650f395979ce09b
parent60ee5cd24cf1c39d4c7bab7b428a08386a93fe9f
drm/i915: Put update_state_fb() next to the fb update

update_state_fb() at the end of intel_find_plane_obj() is misleading as
it leads us to believe the update is done for all code path.

A successful call to intel_alloc_plane_obj() will return and
update_state_fb() is then only needed when we share a fb from another
CRTC. Put the update() function there then.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
This page took 0.026958 seconds and 5 git commands to generate.