aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2021-11-04 16:45:08 +0200
committerVille Syrjälä <[email protected]>2021-11-11 15:18:11 +0200
commit6874f95816da4af4eb6a395ae434b823c4d7d356 (patch)
treeed3a03bb101566ee0e0258022c672dbf1d914d01 /scripts/objdiff
parent74e0457a62c697d388b832b0a52dd1e716204019 (diff)
drm/i915/fbc: Extract helpers to compute FBC control register values
Declutter the *_fbc_activate() functions by pulling all the control register value computations into helpers. I left the enable bit in *_fbc_activate() in the hopes of maybe using the helpers in the *_fbc_deactivate() paths as well instead of the current rmw approach. That won't be possible at least quite yet since we clobber the fbc->params before deactivating FBC so we could end up changing some of the values live, which given FBC's lack of/poor double buffering would likely not go so well. 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/objdiff')
0 files changed, 0 insertions, 0 deletions