diff options
author | Imre Deak <imre.deak@intel.com> | 2014-05-18 23:37:56 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2014-05-19 20:13:15 +0300 |
commit | a6eaa292717f8c8e109ae172d115abea05b5c342 (patch) | |
tree | cba1a8dad75f86a5b022855746cf20c09cd80d42 /lib/intel_iosf.c | |
parent | ad08999794ab883e6755bdf3cdce8ba9ac7a4c6d (diff) |
igt/quickdump: vlv: dump FLISDSI regs too
Signed-off-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'lib/intel_iosf.c')
-rw-r--r-- | lib/intel_iosf.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/intel_iosf.c b/lib/intel_iosf.c index 26d6d01a..ffa2fcaa 100644 --- a/lib/intel_iosf.c +++ b/lib/intel_iosf.c @@ -153,3 +153,17 @@ void intel_dpio_reg_write(uint32_t reg, uint32_t val, int phy) { vlv_sideband_rw(IOSF_PORT_DPIO, SB_MWR_NP, reg, &val); } + +uint32_t intel_flisdsi_reg_read(uint32_t reg) +{ + uint32_t val = 0; + + vlv_sideband_rw(IOSF_PORT_FLISDSI, SB_CRRDDA_NP, reg, &val); + + return val; +} + +void intel_flisdsi_reg_write(uint32_t reg, uint32_t val) +{ + vlv_sideband_rw(IOSF_PORT_FLISDSI, SB_CRWRDA_NP, reg, &val); +} |