diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-12-31 14:15:18 +0100 |
---|---|---|
committer | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-12-31 14:15:18 +0100 |
commit | 66cdbc3951e5b5d73142219b4451022c9193dcb5 (patch) | |
tree | e37cef861d9a8046988e15c74263fefa213cf070 /include | |
parent | 6afdfe6ffb8f2394a212b4937abc238ce7407d22 (diff) |
hwtest/pgraph: Enter Rankine.
Diffstat (limited to 'include')
-rw-r--r-- | include/nvhw/pgraph.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/nvhw/pgraph.h b/include/nvhw/pgraph.h index 77344836..0838c4ef 100644 --- a/include/nvhw/pgraph.h +++ b/include/nvhw/pgraph.h @@ -130,6 +130,8 @@ struct pgraph_state { uint32_t surf_unk880; uint32_t surf_unk888; uint32_t surf_unk89c; + uint32_t surf_unk8a4; + uint32_t surf_unk8a8; uint32_t ctx_valid; uint32_t ctx_format; uint32_t notify; @@ -420,6 +422,8 @@ static inline uint32_t pgraph_offset_mask(const struct chipset_info *chipset) { return 0x01fffff0; else if (chipset->card_type < 0x20) return 0x07fffff0; + else if (chipset->chipset == 0x34) + return 0x3ffffff0; else return 0x3fffffc0; } @@ -427,7 +431,7 @@ static inline uint32_t pgraph_offset_mask(const struct chipset_info *chipset) { static inline uint32_t pgraph_pitch_mask(const struct chipset_info *chipset) { if (chipset->card_type < 0x10) return 0x1ff0; - else if (chipset->card_type < 0x20) + else if (chipset->card_type < 0x20 || chipset->chipset == 0x34) return 0xfff0; else return 0xffc0; |