drm/i915: Make sandybridge_pcode_read() deal with the second data register
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 21 May 2019 16:40:24 +0000 (19:40 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 27 May 2019 17:51:48 +0000 (20:51 +0300)
commitd284d5145eb8760b592e64249c1cd85c440fe90f
treeeae3c8bda3e46444a61f69d1e77d8e633b448f01
parent4361ccac2810553d6cfaa6860bd4bd65f4742ed2
drm/i915: Make sandybridge_pcode_read() deal with the second data register

The pcode mailbox has two data registers. So far we've only ever used
the one, but that's about to change. Expose the second data register to
the callers of sandybridge_pcode_read().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
Reviewed-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190521164025.30225-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_sideband.c
drivers/gpu/drm/i915/intel_sideband.h