drm/i915: Extract BXT DIMM helpers
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Mar 2019 20:35:43 +0000 (22:35 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Mar 2019 21:17:40 +0000 (23:17 +0200)
commita62819a301d8d68d6d305adc20fbea6fbcb67a14
tree53a1492b40103abfd8824b05b4679c4dec4d695e
parent54561b238b1994d7ffe586b9d85ddf3c39a5a37c
drm/i915: Extract BXT DIMM helpers

Polish the bxt DIMM parsing by extracting a few small helpers.

v2: Use struct dram_dimm_info
v3: Document what bxt_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-5-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_drv.c