Skip to contentSkip to conversation

RESEND 8/8: DDR2 MR generation

PATCH New Roy Spliet 1 participant 2 messages Sep 5, 2014 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Roy Spliet

author
#0 lore raw

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]

author
#2 lore raw

PATCH 1/1 fb/sddr2: Generate MR values

V2: Always disable DLL reset

---
 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
index 8b307e1..8228e05 100644
@@ -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
index 82273f8..60322e9 100644
@@ -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