mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 18:38:11 +02:00
rs480: set vap cntl to what fglrx uses for non-TCL cards
This commit is contained in:
parent
159ecba4b3
commit
64700be4e1
1 changed files with 4 additions and 2 deletions
|
|
@ -2005,8 +2005,10 @@ void r300ResetHwState(r300ContextPtr r300)
|
|||
/* Initialize magic registers
|
||||
TODO : learn what they really do, or get rid of
|
||||
those we don't have to touch */
|
||||
r300->hw.vap_cntl.cmd[1] = 0x0030045A; //0x0030065a /* Dangerous */
|
||||
|
||||
if (!(r300->radeon.radeonScreen->chip_flags & RADEON_CHIPSET_TCL))
|
||||
r300->hw.vap_cntl.cmd[1] = 0x0014045a;
|
||||
else
|
||||
r300->hw.vap_cntl.cmd[1] = 0x0030045A; //0x0030065a /* Dangerous */
|
||||
r300->hw.vte.cmd[1] = R300_VPORT_X_SCALE_ENA
|
||||
| R300_VPORT_X_OFFSET_ENA
|
||||
| R300_VPORT_Y_SCALE_ENA
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue