summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-11-04 16:45:04 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-11-11 15:18:01 +0200
commitb50364af7af47bd2107394b8faabffab59329af4 (patch)
tree2dbe69732fee0be7ae1d492afad9e9f0c25e0228 /net/lapb/lapb_out.c
parentd1260be706752dc01699b72222bbba48f42adabf (diff)
drm/i915/fbc: Extract snb_fbc_program_fence()
We have two identical copies of the snb+ system agent CPU fence programming code. Extract into a helper. Also there's no real point in insisting that we program 0 into DPFC_CPU_FENCE_OFFSET when the fence is disabled. So just always stick the computed Y offset there whether or not the fence is actually used or not. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211104144520.22605-2-ville.syrjala@linux.intel.com Acked-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions