mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
Below hals are used to get preemption buffer sizes g->ops.gr.get_ctx_spill_size() g->ops.gr.get_ctx_pagepool_size() g->ops.gr.get_ctx_betacb_size() g->ops.gr.get_ctx_attrib_cb_size() Move them to hal.gr.init unit Copy over corresponding gp10b/gv11b definitions Remove pagepool and attrib_cb size hals from gv11b since gv11b can re-use gp10b hals Add spill size and betacb size hals for gv100 and tu104 too since register values are different on those chips Remove g->ops.gr.init_gfxp_rtv_cb() hal and replace it by g->ops.gr.init.get_gfxp_rtv_cb_size() which returns the size of RTV cb size Jira NVGPU-2961 Change-Id: I3f2f973c120dbfd22067366f87d06b5c9162defb Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2084747 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>