mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Add flag checking for ZCULL code
Add NVGPU_GRAPHICS flag checking for ZCULL specific codes. Define NVGPU_GRAPHICS flag for ZCULL support. This flag is disabled for safety build now. Jira NVGPU-3550 Change-Id: Ifd571a5e64e8fb2dfe02a87458a2986681900a6b Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2127515 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
05ed37ae3a
commit
61fb688f1a
@@ -49,12 +49,12 @@ void nvgpu_gr_reset_golden_image_ptr(struct gk20a *g)
|
||||
g->gr->golden_image = NULL;
|
||||
}
|
||||
|
||||
#ifdef NVGPU_GRAPHICS
|
||||
struct nvgpu_gr_zcull *nvgpu_gr_get_zcull_ptr(struct gk20a *g)
|
||||
{
|
||||
return g->gr->zcull;
|
||||
}
|
||||
|
||||
#ifdef NVGPU_GRAPHICS
|
||||
struct nvgpu_gr_zbc *nvgpu_gr_get_zbc_ptr(struct gk20a *g)
|
||||
{
|
||||
return g->gr->zbc;
|
||||
|
||||
Reference in New Issue
Block a user