mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: move RTV CB code to GRAPHICS config
Some of the RTV circular buffer programming is under GRAPHICS config and some is under DGPU config. For nvgpu-next, RTV circular buffer is required even for iGPU so keeping the code under DGPU config does not make sense. Move all the code from DGPU config to GRAPHICS config. Bug 3159973 Change-Id: I8438cc0e25354d27701df2fe44762306a731d8cd Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2524897 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
be507aea50
commit
cebefd7ea2
@@ -372,7 +372,7 @@ void nvgpu_gr_obj_ctx_commit_global_ctx_buffers(struct gk20a *g,
|
||||
g->ops.gr.init.commit_global_cb_manager(g, config, gr_ctx,
|
||||
patch);
|
||||
|
||||
#ifdef CONFIG_NVGPU_DGPU
|
||||
#ifdef CONFIG_NVGPU_GRAPHICS
|
||||
if (g->ops.gr.init.commit_rtv_cb != NULL) {
|
||||
/* RTV circular buffer */
|
||||
addr = nvgpu_gr_ctx_get_global_ctx_va(gr_ctx,
|
||||
|
||||
Reference in New Issue
Block a user