diff options
author | Ville Syrjälä <[email protected]> | 2022-02-07 15:26:59 +0200 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2022-02-14 09:52:56 +0000 |
commit | 698bef8ff5d2edea5d1c9d6e5adf1bfed1e8a106 (patch) | |
tree | f59671061926e83798d8a6d13fe3a6e4c439596a /tools/testing/selftests/bpf | |
parent | aa4d01a4734bcb1cc9190807cdbcd5af1495910b (diff) |
drm/i915: Fix dbuf slice config lookup
Apparently I totally fumbled the loop condition when I
removed the ARRAY_SIZE() stuff from the dbuf slice config
lookup. Comparing the loop index with the active_pipes bitmask
is utter nonsense, what we want to do is check to see if the
mask is zero or not.
Note that the code actually ended up working correctly despite
the fumble, up until commit eef173954432 ("drm/i915: Allow
!join_mbus cases for adlp+ dbuf configuration") when things
broke for real.
Cc: [email protected]
Fixes: 05e8155afe35 ("drm/i915: Use a sentinel to terminate the dbuf slice arrays")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Jani Nikula <[email protected]>
(cherry picked from commit a28fde308c3c1c174249ff9559b57f24e6850086)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions