diff options
| author | Ville Syrjälä <[email protected]> | 2024-05-02 12:14:21 +0000 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2024-05-08 11:22:34 +0000 |
| commit | 8b69ac66d68907deb473b310b4f2c2a6b26ef191 (patch) | |
| tree | b1a4bafefdb432c47dc9ec66bd617f9ebddf83d5 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Revert "drm/i915: Remove extra multi-gt pm-references" (diff) | |
| download | kernel-8b69ac66d68907deb473b310b4f2c2a6b26ef191.tar.gz kernel-8b69ac66d68907deb473b310b4f2c2a6b26ef191.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
