Skip to content
Commit 378506a7 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/gfx: create a common bitmask function (v2)



The same function was duplicated in all the gfx IPs. Use
a single implementation for all.

v2: use static inline (Alex Xie)

Reviewed-by: default avatarAlex Xie <AlexBin.Xie@amd.com>
Suggested-by: default avatarAndres Rodriguez <andresx7@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 943c05bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment