Lines Matching refs:ui32BasicUnit
3236 if (ctx->bArbitrarySO || (ctx->ui32BasicUnit == 0)) { in tng__validate_busize()
3237 ctx->ui32BasicUnit = (ctx->ui16Width / 16); in tng__validate_busize()
3238 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Patched Basic unit to %d\n", ctx->ui32BasicUnit); in tng__validate_busize()
3254 if (ctx->ui32BasicUnit < 6) { in tng__validate_busize()
3259 if (ctx->ui32BasicUnit > ui32MBsperSlice) { in tng__validate_busize()
3260 … drv_debug_msg(VIDEO_DEBUG_GENERAL, "\nERROR: Basic unit size(%d) too large", ctx->ui32BasicUnit); in tng__validate_busize()
3264 if (ctx->ui32BasicUnit > ui32MBsLastSlice) { in tng__validate_busize()
3265 … drv_debug_msg(VIDEO_DEBUG_GENERAL, "\nERROR: Basic unit size(%d) too large", ctx->ui32BasicUnit); in tng__validate_busize()
3270 ui32BUs = ui32MBsperSlice / ctx->ui32BasicUnit; in tng__validate_busize()
3271 if ((ui32BUs * ctx->ui32BasicUnit) != ui32MBsperSlice) { in tng__validate_busize()
3273 ctx->ui32BasicUnit, ui32MBsperSlice); in tng__validate_busize()
3277 ui32BUs = ui32MBsLastSlice / ctx->ui32BasicUnit; in tng__validate_busize()
3278 if ((ui32BUs * ctx->ui32BasicUnit) != ui32MBsLastSlice) { in tng__validate_busize()
3280 ctx->ui32BasicUnit, ui32MBsLastSlice); in tng__validate_busize()
3287 ui32MaxBUsPerPipe = (ui32MaxMBsPerPipe + ctx->ui32BasicUnit - 1) / ctx->ui32BasicUnit; in tng__validate_busize()
3294 ctx->sRCParams.ui32BUSize = ctx->ui32BasicUnit; in tng__validate_busize()