RESEND 8/8: DDR2 MR generation
Subsystems (3)
Sometimes boot scripts leave the "DLL reset" bit on, but it shouldn't be set on every MR write. V2 addresses this by forcing DLL reset off in MR generation
A message that is not in the archive (sent off-list or not yet received): 1409877706-5298-1-git-send-email-rspliet-pPYjZ15w/[email protected]
PATCH 1/1 fb/sddr2: Generate MR values
V2: Always disable DLL reset
Signed-off-by Roy Spliet <rspliet-pPYjZ15w/[email protected]>
--- drivers/gpu/drm/nouveau/Makefile | 1 + drivers/gpu/drm/nouveau/core/subdev/fb/priv.h | 1 + drivers/gpu/drm/nouveau/core/subdev/fb/sddr2.c | 96 ++++++++++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 drivers/gpu/drm/nouveau/core/subdev/fb/sddr2.c
drivers/gpu/drm/nouveau/Makefile +1 -0
@@ -120,6 +120,7 @@ nouveau-y += core/subdev/fb/ramnvc0.o nouveau-y += core/subdev/fb/ramnve0.o nouveau-y += core/subdev/fb/ramgk20a.o nouveau-y += core/subdev/fb/ramgm107.o +nouveau-y += core/subdev/fb/sddr2.o nouveau-y += core/subdev/fb/sddr3.o nouveau-y += core/subdev/fb/gddr5.o nouveau-y += core/subdev/gpio/base.o
drivers/gpu/drm/nouveau/core/subdev/fb/priv.h +1 -0
@@ -35,6 +35,7 @@ extern struct nouveau_oclass nve0_ram_oclass;extern struct nouveau_oclass gk20a_ram_oclass;extern struct nouveau_oclass gm107_ram_oclass; +int nouveau_sddr2_calc (struct nouveau_ram *ram);int nouveau_sddr3_calc (struct nouveau_ram *ram);int nouveau_gddr5_calc (struct nouveau_ram *ram,bool nuts);
drivers/gpu/drm/nouveau/core/subdev/fb/sddr2.c new file +96 -0
96 lines not on this page · raw message
Signature · 1 line
1.9.3