drivers: pva: Update HW SEQ config and ADB size

- Update HW SEQ configuration for next generation of PVA.
- Add additional HW SEQ validation checks required for next
  generation of PVA.
- Update ADB size for T264

Jira PVAAS-12709

Change-Id: I8dd362f2f517bc20899d51a4bb95b8077f4c636b
Signed-off-by: abhinayaa <abhinayaa@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2891026
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2999160
Reviewed-by: Amruta Sai Anusha Bhamidipati <abhamidipati@nvidia.com>
Reviewed-by: Omar Nemri <onemri@nvidia.com>
Tested-by: Omar Nemri <onemri@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
abhinayaa
2023-04-19 19:20:29 +00:00
committed by mobile promotions
parent 49f4109b66
commit 40bb8da496
4 changed files with 65 additions and 10 deletions

View File

@@ -11,6 +11,10 @@
#include <linux/ioctl.h>
#include <linux/types.h>
#ifdef NVPVA_CONFIG_T264
#include <nvpva_ioctl_t264.h>
#endif
#define NVPVA_DEVICE_NODE "/dev/nvhost-ctrl-pva"
/**
* Maximum length of the name of a symbol in a VPU ELF
@@ -391,6 +395,7 @@ struct nvpva_dma_descriptor {
*
* An update in user structure would need corresponding change here
*/
#ifndef NVPVA_CONFIG_T264
struct nvpva_dma_channel {
uint8_t descIndex;
uint8_t blockHeight;
@@ -410,6 +415,9 @@ struct nvpva_dma_channel {
uint8_t hwseqTxSelect;
uint8_t hwseqTriggerDone;
};
#else
#define nvpva_dma_channel nvpva_dma_channel_ex
#endif
/**
*