aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorVinod Govindapillai <[email protected]>2023-06-06 12:35:07 +0300
committerRadhakrishna Sripada <[email protected]>2023-06-07 11:24:39 -0700
commit6400c215a1c19e40bab513b20d35780e61b291f5 (patch)
tree18a9f50f1b1e30fca4634287d1c2c3e74717ce87 /drivers/fpga/fpga-mgr.c
parent463cc9402e71deead30bd85335c56a98a1c1c462 (diff)
drm/i915: modify max_bw to return index to intel_bw_info
MTL uses the peak BW of a QGV point to lock the required QGV point instead of the QGV index. Instead of passing the deratedbw of the selected bw_info, return the index to the selected bw_info so that either deratedbw or peakbw can be used based on the platform. v2: use idx to store index returned by max_bw_index functions v3: return UINT_MAX in icl_max_bw_index in case no match found v3: check idx >= ARRAY_SIZE Signed-off-by: Vinod Govindapillai <[email protected]> Reviewed-by: Stanislav Lisovskiy <[email protected]> Signed-off-by: Radhakrishna Sripada <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions