summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-10-15 17:20:55 -0400
committerAlex Deucher <alexander.deucher@amd.com>2014-10-16 18:34:09 -0400
commit8e66e134e20b936179ea1535dd4ed19ec4f99dba (patch)
tree72d79bcfa0252136570760964444792ecfb17a5e /kernel
parente300180f71037fd9ed1ca967006fd9f3ee466bcd (diff)
downloadlinux-8e66e134e20b936179ea1535dd4ed19ec4f99dba.tar.gz
linux-8e66e134e20b936179ea1535dd4ed19ec4f99dba.tar.bz2
linux-8e66e134e20b936179ea1535dd4ed19ec4f99dba.zip
drm/radeon: fix vm page table block size calculation
The page offset is 12 bits. For example if we have an 8 GB VM, we'd need 33 bits. The number of bits needed for PD + PT is 21 (33 - 12 or log2(8) + 18), not 20 (log2(8) + 17). Noticed by Alexey during code review. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions