commit | b1a14c6e40413f833dadc1d23b43c530f4b8e381 | [log] [tgz] |
---|---|---|
author | Jani Nikula <jani.nikula@intel.com> | Tue Oct 20 15:38:33 2015 +0300 |
committer | Jani Nikula <jani.nikula@intel.com> | Thu Nov 12 16:29:43 2015 +0200 |
tree | e9686fb7212ca7deb22f39ccc131a89cf11149c3 | |
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 <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