From: Ben Skeggs Date: Mon, 1 Sep 2014 01:15:21 +0000 (+1000) Subject: drm/gk104/fb/ram: fix register for second set of training data X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=299dea4e0ef46b263d1d24dfb7ff62e56a8a396e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/gk104/fb/ram: fix register for second set of training data Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c index e4fd0ba81275..3e6987521cc5 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c @@ -1213,7 +1213,7 @@ nve0_ram_init(struct nouveau_object *object) for (i = 0; i < 0x100; i++) { nv_wr32(pfb, 0x10f96c, i); - nv_wr32(pfb, 0x10f900, train1[2 + (i & 1)]); + nv_wr32(pfb, 0x10f904, train1[2 + (i & 1)]); } break; default: