drm: msm: add spr by pass support

SPR hardware can be configured by user-space clients in bypass or
normal mode. Change adds support to allow clients to enable spr
in bypass or normal mode.

Change-Id: I04641774de91ec2b40af00c665ceffd72a255eea
Signed-off-by: Gopikrishnaiah Anand <quic_agopik@quicinc.com>
This commit is contained in:
Gopikrishnaiah Anand
2022-01-26 12:22:39 -08:00
committed by Gerrit - the friendly Code Review server
parent adc0d00ae9
commit 486bd6b7a1
2 changed files with 19 additions and 4 deletions

View File

@@ -581,6 +581,7 @@ struct drm_msm_ltm_buffer {
#define SPR_INIT_PARAM_SIZE_3 16
#define SPR_INIT_PARAM_SIZE_4 24
#define SPR_INIT_PARAM_SIZE_5 32
#define SPR_FLAG_BYPASS (1 << 0)
/**
* struct drm_msm_spr_init_cfg - SPR initial configuration structure