iris: assert that we're not exporting a TILE64 surface

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: José Roberto de Souza <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32771>
This commit is contained in:
Rohan Garg 2024-07-11 17:07:47 +02:00 committed by Marge Bot
parent 308c2b9828
commit 5bddf6ceb0

View file

@ -1883,6 +1883,9 @@ iris_resource_get_handle(struct pipe_screen *pscreen,
}
#endif
/* TODO: TILE64 modifier support in the KMD */
assert(res->surf.tiling != ISL_TILING_64);
switch (whandle->type) {
case WINSYS_HANDLE_TYPE_SHARED:
iris_gem_set_tiling(bo, &res->surf);