winsys/amdgpu: add addrlib - texture addressing and alignment calculator
authorMarek Olšák <marek.olsak@amd.com>
Thu, 16 Apr 2015 17:41:33 +0000 (19:41 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 14 Aug 2015 13:02:28 +0000 (15:02 +0200)
commite7fc664b91a5d886c2709d05a498f6a1dfbaf136
tree1f0939533c7d083a0ce671ea9c7ea9e316410961
parent2eb067db0febcd71b4182153155e3e43f215624c
winsys/amdgpu: add addrlib - texture addressing and alignment calculator

This is an internal project that Catalyst uses and now open source will do
too.

v2: squashed these commits in:
    - winsys/amdgpu: fix warnings in addrlib
    - winsys/amdgpu: set PIPE_CONFIG and NUM_BANKS in tiling_flags
31 files changed:
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/radeon/r600_texture.c
src/gallium/drivers/radeon/radeon_winsys.h
src/gallium/winsys/amdgpu/drm/Makefile.am
src/gallium/winsys/amdgpu/drm/Makefile.sources
src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.cpp [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/addrtypes.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/core/addrcommon.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/core/addrelemlib.cpp [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/core/addrelemlib.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/core/addrlib.cpp [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/core/addrlib.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/core/addrobject.cpp [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/core/addrobject.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/inc/chip/r800/si_gb_reg.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/inc/lnx_common_defs.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/r800/chip/si_ci_vi_merged_enum.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/r800/ciaddrlib.cpp [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/r800/ciaddrlib.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/r800/egbaddrlib.cpp [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/r800/egbaddrlib.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/r800/siaddrlib.cpp [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/addrlib/r800/siaddrlib.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/amdgpu/drm/amdgpu_id.h [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c [new file with mode: 0644]
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
src/gallium/winsys/radeon/drm/radeon_drm_bo.c