Remove HW_VIDEO_ENCODER usage of YVU420
minigbm has allowed HW_VIDEO_ENCODER usage to YVU420 so that chrome can allocate YVU420 with HW_VIDEO_ENCODER. But this format is no longer allocated by chrome with the usage. Let's delete the code. BUG=chromium:982201 TEST=None Change-Id: Ia6bbc24e7782e3e73c2eb00c00127af212ddf486 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2245967 Reviewed-by: Tomasz Figa <tfiga@chromium.org> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Tested-by: Hirokazu Honda <hiroh@chromium.org> Auto-Submit: Hirokazu Honda <hiroh@chromium.org>
This commit is contained in:
parent
495181462f
commit
fd8b8abd7f
5 changed files with 7 additions and 25 deletions
6
amdgpu.c
6
amdgpu.c
|
|
@ -77,11 +77,7 @@ static int amdgpu_init(struct driver *drv)
|
|||
drv_add_combinations(drv, texture_source_formats, ARRAY_SIZE(texture_source_formats),
|
||||
&metadata, BO_USE_TEXTURE_MASK);
|
||||
|
||||
/*
|
||||
* Chrome uses DMA-buf mmap to write to YV12 buffers, which are then accessed by the
|
||||
* Video Encoder Accelerator (VEA). It could also support NV12 potentially in the future.
|
||||
*/
|
||||
drv_modify_combination(drv, DRM_FORMAT_YVU420, &metadata, BO_USE_HW_VIDEO_ENCODER);
|
||||
/* NV12 format for hardware encoding. */
|
||||
drv_modify_combination(drv, DRM_FORMAT_NV12, &metadata, BO_USE_HW_VIDEO_ENCODER);
|
||||
|
||||
/* Android CTS tests require this. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue