OSDN Git Service

drm/i915/fbc: Move flip_pending assignmnt
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Jun 2022 18:29:16 +0000 (21:29 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 20 Sep 2022 08:44:44 +0000 (11:44 +0300)
commitbff0d857053bdacbde1e0deea3b468de3a2b7234
tree918e71c414da6c09d0ae8a1647fb067fed9581c4
parent429a09553559297cc4e021fff2253f4035d3be2e
drm/i915/fbc: Move flip_pending assignmnt

Move the flip_pending assignment into __intel_fbc_post_update()
from intel_fbc_post_update(). Now mirrors the pre_update() side.

The only reason the assignment was in the higher level function
is that we used to call __intel_fbc_post_update() from elsewhere
as well. That got cleaned up in commit b39d2c620242 ("drm/i915/fbc:
Call intel_fbc_activate() directly from frontbuffer flush")

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220620182917.10765-1-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
drivers/gpu/drm/i915/display/intel_fbc.c