diff options
author | Ville Syrjälä <[email protected]> | 2024-05-02 15:14:21 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2024-05-08 14:22:34 +0300 |
commit | 8b69ac66d68907deb473b310b4f2c2a6b26ef191 (patch) | |
tree | b1a4bafefdb432c47dc9ec66bd617f9ebddf83d5 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 749670a58d935303ad1ce529acc73f12de25832e (diff) |
drm/i915: Fix HAS_REGION() usage in intel_gt_probe_lmem()
HAS_REGION() takes a bitmask, not the region ID. This causes the
GEM_BUG_ON() to assert that the SMEM region is available rather
than the intended LMEM region. No real harm since SMEM is always
available, but also not checking what was intended.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions