[PATCH] drm/radeon, evergreen: ensure equal sizes for depth-stencil npot textures

2018-08-06 Thread Gert Wollny
From: Gert Wollny On evergreen depth-stencil textures are allocated as two objects, and when using the eg_surface_init_1d_miptrees code path the size evaluation uses the generalized surf_minify function. Here when allocating the depth texture the alignment takes the depth bpe value into account,

[PATCH] drm/radeon, evergreen: ensure equal sizes for depth-stencil npot textures

2018-08-06 Thread Gert Wollny
On evergreen depth-stencil textures are allocated as two objects, and when using the eg_surface_init_1d_miptrees code path the size evaluation uses the generalized surf_minify function. Here when allocating the depth texture the alignment takes the depth bpe value into account, and uses bpe=1 for t