aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2021-03-25 21:48:02 +0000
committerImre Deak <[email protected]>2021-03-29 19:58:12 +0000
commit23c87dc6777c25fb91aaf5fff265afa594d268ec (patch)
tree1445b6e912ef0d7cba05a4fb6fb50c32c559b988 /drivers/net/ethernet/intel/igc/igc_main.c
parentdrm/i915: Simplify copying the FB view state to the plane state (diff)
downloadkernel-23c87dc6777c25fb91aaf5fff265afa594d268ec.tar.gz
kernel-23c87dc6777c25fb91aaf5fff265afa594d268ec.zip
drm/i915/intel_fb: Factor out calc_plane_remap_info()
Factor out to a new function the logic to calculate the FB remapping parameters both during creating the FB and when flipping to it. v2: - Keep stride next to offset calculation. (Ville) - Enclose check_array_bounds macro arguments in parentheses. v3: - Rebase on top of the struct intel_fb_view refactoring. Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions