summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorshaoyunl <Shaoyun.Liu@amd.com>2017-11-01 19:21:56 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-03 17:04:27 +0100
commita50f2e242887ad0b0feb62df79cd05f7943c709e (patch)
tree202ea400189aaf9d407b67059c71df6e7426be6a /usr
parent206fa7b19cb266575bb7c100723d7c060c1bd886 (diff)
drm/amdkfd: Fix SDMA ring buffer size calculation
[ Upstream commit d12fb13f23199faa7e536acec1db49068e5a067d ] ffs function return the position of the first bit set on 1 based. (bit zero returns 1). Signed-off-by: shaoyun liu <shaoyun.liu@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions