commit | 063203c013c552f42e154ad7ad16a0bbdfcaf7d6 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Apr 26 09:17:24 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Apr 26 10:20:46 2019 +0100 |
tree | d2184960394bb925e7d43e68aa2dd20077db4ddc | |
parent | 7531942861c80aa26876762dc0775ddd727104f5 [diff] |
drm/i915: Merge sandybridge_pcode_(read|write) These routines are identical except in the nature of the value parameter. For writes it is a pure in-param, but for a read, we need an out-param. Since they differ in a single line, merge the two routines into one. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Imre Deak <imre.deak@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190426081725.31217-7-chris@chris-wilson.co.uk