intel_audio_dump: support using base address plus an offset to dump registers
authorMengdong Lin <mengdong.lin@intel.com>
Mon, 3 Mar 2014 16:04:39 +0000 (11:04 -0500)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 6 Mar 2014 08:42:52 +0000 (16:42 +0800)
commit92d319702553d31e70bcb1a098e896418f041a41
tree6f463e493df9443bbb19476d18a1749169605261
parentcdf74b69c908b869e7e2daca04f49c5e5d02c097
intel_audio_dump: support using base address plus an offset to dump registers

Layout of display and audio registers can be same for different Intel GPUs.
For code sharing, this patches defines functions to
- set the base address of display and audio registers
- dump registers using the base address and an offset

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Reviewed-by: Haihao Xiang <haihao.xiang@intel.com>
tools/intel_audio_dump.c