reverting

since these constraints are not applicable to Rockchip SoCs, removing them
This commit is contained in:
dvab-sarma 2025-11-28 20:26:21 -06:00 committed by Brendan Szymanski
parent a261650432
commit 0367f79617

View file

@ -373,13 +373,6 @@ int gbm_mesa_bo_create(struct bo *bo, uint32_t width, uint32_t height, uint32_t
size_align = 4096; size_align = 4096;
} }
/* Raspberry Pi hardware decoder/encoder */
if (use_flags & (BO_USE_HW_VIDEO_DECODER | BO_USE_HW_VIDEO_ENCODER)) {
scanout_strong = true;
alloc_args.use_scanout = true;
alloc_args.width = ALIGN(alloc_args.width, 32);
size_align = 4096;
}
if (alloc_args.drm_format == 0) { if (alloc_args.drm_format == 0) {
/* Always use linear for spoofed format allocations. */ /* Always use linear for spoofed format allocations. */