Update VPE blit test
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 3 repliesIn review
- v33 patches 4 repliesSuperseded
- v23 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 2 replies | Superseded |
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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tests/amdgpu/vpe: add VPE2 blit test and version based testingtests/ tests/ tests/ +1 more | +415 | 2 replies | |
| 2/2 | tests/amdgpu/vpe: refactor VPE1 blit testtests/ tests/ tests/ | +92 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Alex Hung |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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