diff options
author | Felix Kuehling <[email protected]> | 2022-09-21 17:45:59 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-09-30 11:21:25 -0400 |
commit | b292cafe2dd02d96a07147e4b160927e8399d5cc (patch) | |
tree | f9dff8785fcb8d2b4590086da31a608316628c70 /drivers/gpu/drm/meson/meson_plane.c | |
parent | 8a7c3ce108544334a9c7906f61d2701f433e44ee (diff) |
drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
This was fixed in initialize_cpsch before, but not in initialize_nocpsch.
Factor sdma bitmap initialization into a helper function to apply the
correct implementation in both cases without duplicating it.
v2: Added a range check
Reported-by: Ellis Michael <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Graham Sider <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/meson/meson_plane.c')
0 files changed, 0 insertions, 0 deletions