mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +00:00
Update dpio read/write to take in extra PHY parameter.
The extra parameter is for future platform. Signed-off-by: Chon Ming Lee <chon.ming.lee@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
committed by
Ville Syrjälä
parent
f5643c4a27
commit
0b67c0c421
@@ -27,9 +27,11 @@ def get_wake():
|
||||
mt_forcewake_get()
|
||||
vlv_forcewake_get()
|
||||
|
||||
def dpio_read(reg):
|
||||
def dpio_read(reg, phy):
|
||||
reg = int(reg, 16)
|
||||
val = chipset.intel_dpio_reg_read(reg)
|
||||
phy = int(phy)
|
||||
|
||||
val = chipset.intel_dpio_reg_read(reg, phy)
|
||||
return val
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user