diff options
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_mclk.c | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hw_fb_gp106.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_mclk.c b/drivers/gpu/nvgpu/clk/clk_mclk.c index ea238c15..86f4ff6d 100644 --- a/drivers/gpu/nvgpu/clk/clk_mclk.c +++ b/drivers/gpu/nvgpu/clk/clk_mclk.c | |||
@@ -2189,6 +2189,9 @@ int clk_mclkseq_init_mclk_gddr5(struct gk20a *g) | |||
2189 | 2189 | ||
2190 | mutex_init(&mclk->mclk_mutex); | 2190 | mutex_init(&mclk->mclk_mutex); |
2191 | 2191 | ||
2192 | /* FBPA gain WAR */ | ||
2193 | gk20a_writel(g, fb_fbpa_fbio_iref_byte_rx_ctrl_r(), 0x22222222); | ||
2194 | |||
2192 | mclk->speed = gk20a_mclk_low_speed; /* Value from Devinit */ | 2195 | mclk->speed = gk20a_mclk_low_speed; /* Value from Devinit */ |
2193 | 2196 | ||
2194 | /* Parse VBIOS */ | 2197 | /* Parse VBIOS */ |
diff --git a/drivers/gpu/nvgpu/gp106/hw_fb_gp106.h b/drivers/gpu/nvgpu/gp106/hw_fb_gp106.h index 19d88464..519679f5 100644 --- a/drivers/gpu/nvgpu/gp106/hw_fb_gp106.h +++ b/drivers/gpu/nvgpu/gp106/hw_fb_gp106.h | |||
@@ -602,4 +602,8 @@ static inline u32 fb_niso_scrub_status_flag_v(u32 r) | |||
602 | { | 602 | { |
603 | return (r >> 0) & 0x1; | 603 | return (r >> 0) & 0x1; |
604 | } | 604 | } |
605 | static inline u32 fb_fbpa_fbio_iref_byte_rx_ctrl_r(void) | ||
606 | { | ||
607 | return 0x009a0eb0; | ||
608 | } | ||
605 | #endif | 609 | #endif |