Skip to content

Update VPE blit test

Caden Chien igt-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review
  2. v33 patches 4 repliesSuperseded
  3. v23 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches2 repliesSuperseded

Changes in v4 from the cover letter

1. Fix comment style to use C style
2. Fix indent of switch case and subtest declaration
3. Squash version based testing setup patch into vpe2 test case addition patch, to avoid potential regression

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/amdgpu/vpe: add VPE2 blit test and version based testingtests/amdgpu/amd_vpe.c tests/amdgpu/amd_vpe.h tests/amdgpu/amd_vpe_cmd.c +1 more+415 -62 replies
2/2tests/amdgpu/vpe: refactor VPE1 blit testtests/amdgpu/amd_vpe.c tests/amdgpu/amd_vpe.h tests/amdgpu/amd_vpe_cmd.c+92 -661 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlex Hung
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH i-g-t V4 0/2] Update VPE blit test

For new VPE2 IP, commands for old blit test are incompatible for VPE2 HW. A new test case is added for VPE2 in the first patch. A new header file is added for placing macros and a new source file is added for static arrays for vpe commands, so amd_vpe.c won't be flooded.

To retain compatibility for vpe blit test to work on either IP version, a switch case is added in first patch as well to call testing functions corresponding to the under testing IP.

Blit test for VPE1 is refactored in the second patch to align with coding style and VPE2 blit test.

V4:
1. Fix comment style to use C style
2. Fix indent of switch case and subtest declaration
3. Squash version based testing setup patch into vpe2 test case addition patch, to avoid potential regression

V3:
Put VPE command array into a new source file instead of in a common header file, to avoid having multiple copies of commands.

V2:
Solved unused function compiler warning (new vpe2 blit test added in first patch but only got used in second patch)

link to patchwork for V1~3:
https://patchwork.freedesktop.org/series/166844/

Caden Chien (2):
tests/amdgpu/vpe: add VPE2 blit test and version based testing tests/amdgpu/vpe: refactor VPE1 blit test

 tests/amdgpu/amd_vpe.c     | 256 +++++++++++++++++++++++++----------
 tests/amdgpu/amd_vpe.h     |  42 ++++++
 tests/amdgpu/amd_vpe_cmd.c | 271 +++++++++++++++++++++++++++++++++++++
 tests/amdgpu/meson.build   |  10 +-
 4 files changed, 507 insertions(+), 72 deletions(-)
 create mode 100644 tests/amdgpu/amd_vpe.h
 create mode 100644 tests/amdgpu/amd_vpe_cmd.c
Signature · 1 line
2.54.0