diff options
author | 2020-03-05 20:35:34 +0000 | |
---|---|---|
committer | 2020-03-11 23:12:39 +0200 | |
commit | 1d61c5d711a2dc0b978ae905535edee9601f9449 (patch) | |
tree | c6977b87f9ca7d15c83db9a8804c396375607292 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | drm/i915/gvt: Fix dma-buf display blur issue on CFL (diff) | |
download | wireguard-linux-1d61c5d711a2dc0b978ae905535edee9601f9449.tar.xz wireguard-linux-1d61c5d711a2dc0b978ae905535edee9601f9449.zip |
drm/i915: be more solid in checking the alignment
The alignment is u64, and yet is_power_of_2() assumes unsigned long,
which might give different results between 32b and 64b kernel.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200305203534.210466-1-matthew.auld@intel.com
Cc: stable@vger.kernel.org
(cherry picked from commit 2920516b2f719546f55079bc39a7fe409d9e80ab)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions