diff options
author | Xavi Zhang <[email protected]> | 2014-08-01 02:18:00 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 14:44:33 +0200 |
commit | 3c3d620cf39ba1755da4faced426739ef653734b (patch) | |
tree | b8f1ab96775d16ddc81ac7892636f166813a0653 /src/amd/addrlib/r800/egbaddrlib.h | |
parent | 3614999878fd1335e69ecb0d181a9f6d2b91e3f8 (diff) |
amdgpu/addrlib: Let Kaveri go general stereo right eye offset padding path
Kaveri (2-pipe) macro tiling mode table was initially set to all
4-aspect-ratio so the swizzling path did not work for it and then we
chose to pad the offset. We now discover the root cause is that if
ratio > 2, the swizzling path does not work. So we can safely use the
same path for Kaveri.
Diffstat (limited to 'src/amd/addrlib/r800/egbaddrlib.h')
-rw-r--r-- | src/amd/addrlib/r800/egbaddrlib.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/amd/addrlib/r800/egbaddrlib.h b/src/amd/addrlib/r800/egbaddrlib.h index 25e38964be0..ca1d07d062f 100644 --- a/src/amd/addrlib/r800/egbaddrlib.h +++ b/src/amd/addrlib/r800/egbaddrlib.h @@ -224,12 +224,7 @@ protected: { } - /// Virtual function to check if the height needs extra padding - /// for stereo right eye offset, to avoid bank pipe swizzle - virtual BOOL_32 HwlStereoCheckRightOffsetPadding() const - { - return FALSE; - } + virtual UINT_32 HwlStereoCheckRightOffsetPadding(ADDR_TILEINFO* pTileInfo) const; virtual BOOL_32 HwlReduceBankWidthHeight( UINT_32 tileSize, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 numSamples, |