diff options
| author | Mika Kuoppala <[email protected]> | 2015-10-30 13:26:15 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2015-11-09 20:00:11 +0200 |
| commit | 44eb0cb9620c6a53ec8e7073262e2af8079b727f (patch) | |
| tree | 4fb542b8ac13ee6182570edd75c876d1d5355cf3 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 0ac7655cf7f5722fe3a24fda5f435a00baa7d513 (diff) | |
drm/i915: Avoid pointer arithmetic in calculating plane surface offset
VMA offsets are 64 bits. Plane surface offsets are in ggtt and
the hardware register to set this is thus 32 bits. Be explicit
about these and convert carefully to from vma to final size.
This will make sparse happy by not creating 32bit pointers out
of 64bit vma offsets.
Cc: Tvrtko Ursulin <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Tvrtko Ursulin <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions