aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-05-02 15:14:21 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-05-08 14:22:34 +0300
commit8b69ac66d68907deb473b310b4f2c2a6b26ef191 (patch)
treeb1a4bafefdb432c47dc9ec66bd617f9ebddf83d5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent749670a58d935303ad1ce529acc73f12de25832e (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ä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240502121423.1002-1-ville.syrjala@linux.intel.com Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions