Ville Syrjälä ea411e6b85 drm/i915: Extract functions to derive SKL+ DIMM info
Make the code less repetitive by extracting a few small helpers.

v2: Squash in the switch removal for skl_get_dimm_ranks()
    (it got misplaced in a rebase accident)
    Document what skl_get_dimm_size() returns (Jani)

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190306203551.24592-3-ville.syrjala@linux.intel.com
2019-03-07 23:16:13 +02:00
..
2019-01-09 10:26:36 +02:00
2018-11-20 12:49:24 +02:00
2019-03-07 18:09:27 +00:00
2019-01-24 13:20:42 +01:00
2018-03-08 10:07:18 +00:00
2019-02-05 09:43:23 -08:00
2019-02-04 14:42:34 +10:00
2019-02-26 19:54:48 +02:00
2019-02-04 14:42:34 +10:00
2019-02-05 09:43:23 -08:00
2019-02-05 09:43:23 -08:00
2019-02-18 13:27:15 +10:00
2019-02-05 09:43:23 -08:00