aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2013-07-04 13:06:28 +0200
committerDaniel Vetter <[email protected]>2013-07-05 23:56:18 +0200
commit190d6cd5cd3606dd13a3ca5bf0c23dc520659c15 (patch)
tree7a70d5382d09114d95b1eaf085334d8015814162 /tools/perf/scripts/python
parentd94ab068277bda17bfeb0e976049035153299a1a (diff)
drm/i915: less magic for stolen preallocated objects w/o gtt offset
A magic -1 is a obscure, especially since it's actually passed as an unsigned, so depends upon the magic sign extension rules in C. This has been added in commit 3727d55e4d85836aa6cb759a965daaef88074150 Author: Jesse Barnes <[email protected]> Date: Wed May 8 10:45:14 2013 -0700 drm/i915: allow stolen, pre-allocated objects to avoid GTT allocation v2 Use a proper #define instead. Spotted while reviewing Ben's drm_mm_create_block changes. v2: Cast the constant to u32 since otherwise we again have a type mismatch. Suggested by Chris Wilson. Cc: Ben Widawsky <[email protected]> Cc: Jesse Barnes <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions