gpu: nvgpu: gk20a: Do not program L2 interrupts

In gk20a L2 is off when we run L2 floorsweeping function, and the
register accesses cause an error.

Remove the code to disable L2 comptag interrupt on gk20a.

Bug 1741521

Change-Id: I58ee425adf46e80ce4d045750190e930439d419b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1151323
This commit is contained in:
Terje Bergstrom
2016-05-20 14:54:10 -07:00
parent 9c9c0a8234
commit c25e1da93e

View File

@@ -172,17 +172,9 @@ out:
static void gk20a_ltc_init_fs_state(struct gk20a *g)
{
u32 reg;
gk20a_dbg_info("initialize gk20a L2");
g->max_ltc_count = g->ltc_count = 1;
/* Disable LTC interrupts */
reg = gk20a_readl(g, ltc_ltcs_ltss_intr_r());
reg &= ~ltc_ltcs_ltss_intr_en_evicted_cb_m();
reg &= ~ltc_ltcs_ltss_intr_en_illegal_compstat_m();
gk20a_writel(g, ltc_ltcs_ltss_intr_r(), reg);
}
static void gk20a_ltc_isr(struct gk20a *g)