diff options
author | Dave Airlie <airlied@redhat.com> | 2010-11-11 09:15:27 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-11 12:55:56 +1000 |
commit | e1dfaf93d06bc5eafdbc2e1823d19204ce8f242c (patch) | |
tree | 3dbe49f8fc174a3fac4f05d62ea18dfb52d02eb9 /src/radeon_probe.h | |
parent | 0c2834e67df6e143a7d15f373faaddca1dda6b18 (diff) |
avivo: use arrays to store the crtc/pll info for save/restore
this is just prep work for evergreen VT save/restore
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r-- | src/radeon_probe.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h index ce3b4e62..78179ed3 100644 --- a/src/radeon_probe.h +++ b/src/radeon_probe.h @@ -369,24 +369,25 @@ struct avivo_state uint32_t vga1_cntl; uint32_t vga2_cntl; + uint32_t vga3_cntl; + uint32_t vga4_cntl; + uint32_t vga5_cntl; + uint32_t vga6_cntl; uint32_t vga_render_control; uint32_t crtc_master_en; uint32_t crtc_tv_control; uint32_t dc_lb_memory_split; - struct avivo_pll_state pll1; - struct avivo_pll_state pll2; + struct avivo_pll_state pll[2]; struct avivo_pll_state vga25_ppll; struct avivo_pll_state vga28_ppll; struct avivo_pll_state vga41_ppll; - struct avivo_crtc_state crtc1; - struct avivo_crtc_state crtc2; + struct avivo_crtc_state crtc[6]; - struct avivo_grph_state grph1; - struct avivo_grph_state grph2; + struct avivo_grph_state grph[2]; /* DDIA block on RS6xx chips */ uint32_t ddia[37]; |