aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2015-10-20 15:38:33 +0300
committerJani Nikula <jani.nikula@intel.com>2015-11-12 16:29:43 +0200
commitb1a14c6e40413f833dadc1d23b43c530f4b8e381 (patch)
treee9686fb7212ca7deb22f39ccc131a89cf11149c3 /tools/perf/scripts/python
parentdrm/i915: constify bxt stepping info (diff)
downloadlinux-b1a14c6e40413f833dadc1d23b43c530f4b8e381.tar.gz
linux-b1a14c6e40413f833dadc1d23b43c530f4b8e381.zip
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 <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1445344713-1407-3-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions