diff options
| author | Imre Deak <[email protected]> | 2017-05-10 12:21:52 +0300 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2017-05-10 13:47:53 +0300 |
| commit | a92d1a91cf729c585b978cecb75b046ced0bc164 (patch) | |
| tree | c2f4e98d1c12211564b54cfdfcf02ff2c6e532c2 /tools/perf/scripts/python | |
| parent | 0290cf3f9f77b7d31691b21cfe505e4804aa4bbb (diff) | |
drm/i915: Sanitize stolen memory size calculation
On GEN8+ (not counting CHV) the calculation can in theory result in an
incorrect sign extension with all upper bits set. In practice this is
unlikely to happen since it would require 4GB of stolen memory set
aside. For consistency still prevent the sign extension explicitly
everywhere.
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions