Searched refs:res_param (Results 1 – 1 of 1) sorted by relevance
1228 uint64_t res_param; in dri2_query_image_by_resource_param() local1266 if (!dri2_resource_get_param(image, param, handle_usage, &res_param)) in dri2_query_image_by_resource_param()1273 if (res_param > INT_MAX) in dri2_query_image_by_resource_param()1275 *value = (int)res_param; in dri2_query_image_by_resource_param()1280 if (res_param > UINT_MAX) in dri2_query_image_by_resource_param()1282 *value = (int)res_param; in dri2_query_image_by_resource_param()1285 if (res_param == DRM_FORMAT_MOD_INVALID) in dri2_query_image_by_resource_param()1287 *value = (res_param >> 32) & 0xffffffff; in dri2_query_image_by_resource_param()1290 if (res_param == DRM_FORMAT_MOD_INVALID) in dri2_query_image_by_resource_param()1292 *value = res_param & 0xffffffff; in dri2_query_image_by_resource_param()