mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: fix tex rd coalesce disable logic
NETLIST_REGIONID_SW_CTX_LOAD writes update gr_gpcs_tpcs_tex_m_dbg2_r to
default value that keeps rd coalesce enabled for LG & SU.
Disable rd coalesce for tex, lg and su after NETLIST_REGIONID_SW_CTX_LOAD
writes during gr init and golden ctx init for it to take effect.
For gr sw method handling, don't update the tex rd coalesce on interrupt
with offset *_SET_RD_COALESCE as we want to keep rd coalescing disabled.
Bug 3881919
Change-Id: Ie7e6616d48f84547ce3380bfa395910b7995c05b
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2857141
(cherry picked from commit b2c8827c65)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2859538
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-by: Ankur Kishore <ankkishore@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
3af0fe510e
commit
2acfb55780
@@ -328,6 +328,7 @@ static const struct gops_gr_init gm20b_ops_gr_init = {
|
||||
.ecc_scrub_reg = NULL,
|
||||
.lg_coalesce = gm20b_gr_init_lg_coalesce,
|
||||
.su_coalesce = gm20b_gr_init_su_coalesce,
|
||||
.disable_rd_coalesce = gm20a_gr_disable_rd_coalesce,
|
||||
.pes_vsc_stream = gm20b_gr_init_pes_vsc_stream,
|
||||
.gpc_mmu = gm20b_gr_init_gpc_mmu,
|
||||
.fifo_access = gm20b_gr_init_fifo_access,
|
||||
@@ -1213,6 +1214,7 @@ int gm20b_init_hal(struct gk20a *g)
|
||||
nvgpu_set_errata(g, NVGPU_ERRATA_1547668, true);
|
||||
nvgpu_set_errata(g, NVGPU_ERRATA_MM_FORCE_128K_PMU_VM, true);
|
||||
nvgpu_set_errata(g, NVGPU_ERRATA_SYNCPT_INVALID_ID_0, true);
|
||||
nvgpu_set_errata(g, NVGPU_ERRATA_200314091, true);
|
||||
|
||||
nvgpu_set_enabled(g, NVGPU_GR_USE_DMA_FOR_FW_BOOTSTRAP, true);
|
||||
#ifdef CONFIG_NVGPU_FECS_TRACE
|
||||
|
||||
Reference in New Issue
Block a user