summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-03-30 16:37:19 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-03-30 16:37:19 +0200
commit155b00bb7a5ba8754f772dd3d8cf0d54a7f706c9 (patch)
tree7c2f22005182b4940c9548feb09b7e87e86b90f3
parent674085ccdeec9c5bc727efd01ae249180e203a8e (diff)
.
-rw-r--r--nvlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nvlib.h b/nvlib.h
index 34036ea..aa8c8d5 100644
--- a/nvlib.h
+++ b/nvlib.h
@@ -310,6 +310,7 @@ struct nv_region
struct nv_device : public nv_region
{
+ // TODO: implement nv50 ramin flushing for writes
struct nv_ramin : public nv_region
{
nv_ramin(struct nv_device* dev)
@@ -799,6 +800,7 @@ struct nv_device : public nv_region
if(dev->card_type < NV_50)
ramht = dev->dev_ramht;
else
+ // TODO: is the high part the logarithm of the size?
ramht.reset(new nv_ramht(dev->ramin, channel, (fifoctx->rd32(0x80) & 0xffffff) << 4));
}