reverting
since these constraints are not applicable to Rockchip SoCs, removing them
This commit is contained in:
parent
a261650432
commit
0367f79617
1 changed files with 0 additions and 7 deletions
|
|
@ -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. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue