linux_dsm_epyc7002/drivers/media/platform/qcom/venus
Alexandre Courbot 1946117b8f media: venus: keep resolution when adjusting format
When checking a format for validity, the resolution is reset to 1280x720
whenever the pixel format is not supported. This behavior can mislead
user-space into believing that this is the only resolution supported,
and looks strange considering that if we try/set the same format with
just the pixel format changed to a valid one, the call will this time
succeed without altering the resolution.

Resolution is managed independently of the pixel format, so remove this
reset.

Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Acked-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-06-28 07:55:10 -04:00
..
core.c media: venus: don't abuse dma_alloc for non-DMA allocations 2017-07-20 15:55:14 -04:00
core.h media: venus: venc: Apply inloop deblocking filter 2017-12-08 11:20:41 -05:00
firmware.c soc: qcom: mdt-loader: Return relocation base 2018-02-12 11:05:38 -08:00
firmware.h media: venus: don't abuse dma_alloc for non-DMA allocations 2017-07-20 15:55:14 -04:00
helpers.c media: venus: reimplement decoder stop command 2017-10-27 14:01:09 +02:00
helpers.h media: venus: add helper to check supported codecs 2017-08-26 08:45:03 -04:00
hfi_cmds.c media: venus: cleanup set_property controls 2017-12-08 11:28:37 -05:00
hfi_cmds.h [media] media: venus: hfi: add Host Firmware Interface (HFI) 2017-06-20 08:53:40 -03:00
hfi_helper.h media: venus: venc: Apply inloop deblocking filter 2017-12-08 11:20:41 -05:00
hfi_msgs.c media: venus: hfi: use true for boolean values 2018-02-26 07:53:09 -05:00
hfi_msgs.h [media] media: venus: hfi: add Host Firmware Interface (HFI) 2017-06-20 08:53:40 -03:00
hfi_venus_io.h [media] media: venus: hfi: add Venus HFI files 2017-06-20 08:53:40 -03:00
hfi_venus.c media: venus: fix wrong size on dma_free 2017-10-24 17:17:18 +02:00
hfi_venus.h [media] media: venus: hfi: add Venus HFI files 2017-06-20 08:53:40 -03:00
hfi.c sched/wait, drivers/media: Convert wait_on_atomic_t() usage to the new wait_var_event() API 2018-03-20 08:23:19 +01:00
hfi.h [media] media: venus: hfi: add Host Firmware Interface (HFI) 2017-06-20 08:53:40 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vdec_ctrls.c [media] media: venus: vdec: add support for min buffers for capture 2017-06-20 08:53:41 -03:00
vdec.c media: venus: keep resolution when adjusting format 2018-06-28 07:55:10 -04:00
vdec.h
venc_ctrls.c media: venus: venc: set correctly GOP size and number of B-frames 2017-12-08 10:38:08 -05:00
venc.c media: venus: keep resolution when adjusting format 2018-06-28 07:55:10 -04:00
venc.h [media] media: venus: venc: add video encoder files 2017-06-20 08:53:39 -03:00