gpu: nvgpu: add zbc stencil as a chip feature

Add zbc stencil as chip feature. This help to remove the
hals added for stencil feature, instead use common functions.

Removed hals
stencil_query_table
load_stencil_default_tbl
add_type_stencil
load_stencil_tbl

JIRA NVGPU-1882

Change-Id: Iae410a8dd879660ecfd2d2a5ebf28b2cc8309be4
Signed-off-by: Vinod G <vinodg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2022385
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Vinod G
2019-02-18 15:01:52 -08:00
committed by mobile promotions
parent 6fa5c4efa3
commit b65d697533
13 changed files with 26 additions and 62 deletions

View File

@@ -177,10 +177,13 @@ struct gk20a;
/* PMU RTOS FBQ support*/
#define NVGPU_SUPPORT_PMU_RTOS_FBQ 70
/* ZBC STENCIL support*/
#define NVGPU_SUPPORT_ZBC_STENCIL 71
/*
* Must be greater than the largest bit offset in the above list.
*/
#define NVGPU_MAX_ENABLED_BITS 71U
#define NVGPU_MAX_ENABLED_BITS 72U
/**
* nvgpu_is_enabled - Check if the passed flag is enabled.