Mesa (master): amd/addrlib: second update for Vega10 + bug fixes
Marek Olšák
mareko at kemper.freedesktop.org
Tue Apr 4 10:17:55 UTC 2017
Module: Mesa
Branch: master
Commit: 18e760346aab10affd6e9ff129f800d90fa28456
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=18e760346aab10affd6e9ff129f800d90fa28456
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Feb 27 22:25:44 2017 +0100
amd/addrlib: second update for Vega10 + bug fixes
Highlights:
- Display needs tiled pitch alignment to be at least 32 pixels
- Implement Addr2ComputeDccAddrFromCoord().
- Macro-pixel packed formats don't support Z swizzle modes
- Pad pitch and base alignment of PRT + TEX1D to 64KB.
- Fix support for multimedia formats
- Fix a case "PRT" entries are not selected on SI.
- Fix wrong upper bits in equations for 3D resource.
- We can't support 2d array slice rotation in gfx8 swizzle pattern
- Set base alignment for PRT + non-xor swizzle mode resource to 64KB.
- Bug workaround for Z16 4x/8x and Z32 2x/4x/8x MSAA depth texture
- Add stereo support
- Optimize swizzle mode selection
- Report pitch and height in pixels for each mip
- Adjust bpp/expandX for format ADDR_FMT_GB_GR/ADDR_FMT_BG_RG
- Correct tcCompatible flag output for mipmap surface
- Other fixes and cleanups
Acked-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
src/amd/addrlib/addrinterface.cpp | 90 ++
src/amd/addrlib/addrinterface.h | 215 ++-
src/amd/addrlib/core/addrcommon.h | 52 +-
src/amd/addrlib/core/addrelemlib.cpp | 60 +-
src/amd/addrlib/core/addrelemlib.h | 3 +-
src/amd/addrlib/core/addrlib.h | 6 +-
src/amd/addrlib/core/addrlib1.cpp | 47 +-
src/amd/addrlib/core/addrlib1.h | 2 +-
src/amd/addrlib/core/addrlib2.cpp | 1942 +++++----------------------
src/amd/addrlib/core/addrlib2.h | 329 +++--
src/amd/addrlib/gfx9/gfx9addrlib.cpp | 2416 ++++++++++++++++++++++++++++++----
src/amd/addrlib/gfx9/gfx9addrlib.h | 188 ++-
src/amd/addrlib/r800/ciaddrlib.cpp | 110 +-
src/amd/addrlib/r800/ciaddrlib.h | 4 +
src/amd/addrlib/r800/egbaddrlib.cpp | 2 +-
src/amd/addrlib/r800/egbaddrlib.h | 2 +-
src/amd/addrlib/r800/siaddrlib.cpp | 26 +-
17 files changed, 3330 insertions(+), 2164 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=18e760346aab10affd6e9ff129f800d90fa28456
More information about the mesa-commit
mailing list