linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] media: venus: Fix up buffer handling for HFI_VERSION_1XX
@ 2022-07-26  2:14 Bryan O'Donoghue
  2022-07-26  2:14 ` [PATCH 1/2] media: venus: dec: Handle the case where find_format fails Bryan O'Donoghue
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Bryan O'Donoghue @ 2022-07-26  2:14 UTC (permalink / raw)
  To: stanimir.varbanov, agross, bjorn.andersson, konrad.dybcio,
	mchehab
  Cc: linux-media, linux-arm-msm, bryan.odonoghue

This series fixes two buffer handling bugs. The first bug is trivial and
~impossible to hit without the second bug but with fixing anyway. Its a
simple NULL pointer handling issue.

The second bug relates to HFI_VERSION_1XX output buffers. Unfortunately
these have been broken since

Commit: 9593126dae3e ("media: venus: Add a handling of QC08C compressed format")

A bit of bisecting the commits in venus found it handily enough. Once the
fix is applied we have I have decode working again on db410c.

Bryan O'Donoghue (2):
  media: venus: dec: Handle the case where find_format fails
  media: venus: Fix NV12 decoder buffer discovery on HFI_VERSION_1XX

 drivers/media/platform/qcom/venus/helpers.c | 13 +++++++------
 drivers/media/platform/qcom/venus/vdec.c    |  2 ++
 2 files changed, 9 insertions(+), 6 deletions(-)

-- 
2.36.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-05 13:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-26  2:14 [PATCH 0/2] media: venus: Fix up buffer handling for HFI_VERSION_1XX Bryan O'Donoghue
2022-07-26  2:14 ` [PATCH 1/2] media: venus: dec: Handle the case where find_format fails Bryan O'Donoghue
2022-08-05 13:12   ` Stanimir Varbanov
2022-07-26  2:14 ` [PATCH 2/2] media: venus: Fix NV12 decoder buffer discovery on HFI_VERSION_1XX Bryan O'Donoghue
2022-08-05 13:12   ` Stanimir Varbanov
2022-07-26 12:11 ` [PATCH 0/2] media: venus: Fix up buffer handling for HFI_VERSION_1XX Bryan O'Donoghue
2022-08-05 12:42 ` Stanimir Varbanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).