aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPaulo Zanoni <[email protected]>2017-01-26 18:19:07 -0200
committerPaulo Zanoni <[email protected]>2017-01-27 11:04:12 -0200
commit920bcd1820a6966b6224f62eadcb4e931bb72e8e (patch)
treefe825e994a8ba3c732243f6d03a94521ab3456c4 /tools/perf/scripts/python/bin
parent2eebe4f2d5f4c91edc37801d828ba29edfbc7722 (diff)
drm/i915: make i915_stolen_to_physical() return phys_addr_t
The i915_stolen_to_physical() function has 'unsigned long' as its return type but it returns the 'base' variable, which is of type 'u32'. The only place where this function is called assigns the returned value to dev_priv->mm.stolen_base, which is of type 'phys_addr_t'. The return value is actually a physical address and everything else in the stolen memory code seems to be using phys_addr_t, so fix i915_stolen_to_physical() to use phys_addr_t. v2: Add missing blank lines after declarations (Chris, checkpatch.pl). Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Paulo Zanoni <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions