aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2021-11-04 16:45:04 +0200
committerVille Syrjälä <[email protected]>2021-11-11 15:18:01 +0200
commitb50364af7af47bd2107394b8faabffab59329af4 (patch)
tree2dbe69732fee0be7ae1d492afad9e9f0c25e0228 /scripts
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ä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Acked-by: Jani Nikula <[email protected]> Reviewed-by: Mika Kahola <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions