diff options
| author | Jani Nikula <[email protected]> | 2015-10-20 15:38:33 +0300 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2015-11-12 16:29:43 +0200 |
| commit | b1a14c6e40413f833dadc1d23b43c530f4b8e381 (patch) | |
| tree | e9686fb7212ca7deb22f39ccc131a89cf11149c3 /tools/perf/scripts/python | |
| parent | b9cd5bfd8263ecce6ae1c581b84c34c5670395de (diff) | |
drm/i915: refactor stepping info retrieval
Have only one if ladder for platforms and only one range check for
size. Makes it easier to handle new platforms. Remove the use of
negative return values in char, which might underflow to be positive for
some negative error codes.
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Jani Nikula <[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