Martin Peres
2014-Aug-31 14:11 UTC
[Nouveau] [PATCH envytools] nvamemtiming: Handle target < initial case when iterating values
On 31/08/2014 16:01, Christian Costa wrote:> Le 31/08/2014 15:12, Martin Peres a ?crit : >> On 31/08/2014 15:00, Christian Costa wrote: >>> Otherwise some values are not tested at all. >> I would rather have a warning than the program doing stuff behind my >> back. This is a dev tool, dumb == good ;) >> > But why didn't you call it Dumb mode rather that Deep mode. That way, > I wouldn't have tried to use it and figure out what it does. ;pTarget is supposed to be higher than initial! Initial == minimum safe timing. You just reversed the order, try: sudo nvamemtiming pramin 0x6a22 5 0 -d 3
Christian Costa
2014-Aug-31 14:19 UTC
[Nouveau] [PATCH envytools] nvamemtiming: Handle target < initial case when iterating values
Le 31/08/2014 16:11, Martin Peres a ?crit :> On 31/08/2014 16:01, Christian Costa wrote: >> Le 31/08/2014 15:12, Martin Peres a ?crit : >>> On 31/08/2014 15:00, Christian Costa wrote: >>>> Otherwise some values are not tested at all. >>> I would rather have a warning than the program doing stuff behind my >>> back. This is a dev tool, dumb == good ;) >>> >> But why didn't you call it Dumb mode rather that Deep mode. That way, >> I wouldn't have tried to use it and figure out what it does. ;p > > Target is supposed to be higher than initial! Initial == minimum safe > timing. > > You just reversed the order, try: > sudo nvamemtiming pramin 0x6a22 5 0 -d 3 >Ok. It's intended then. Thanks!
Martin Peres
2014-Aug-31 14:23 UTC
[Nouveau] [PATCH envytools] nvamemtiming: Handle target < initial case when iterating values
On 31/08/2014 16:19, Christian Costa wrote:> Le 31/08/2014 16:11, Martin Peres a ?crit : >> On 31/08/2014 16:01, Christian Costa wrote: >>> Le 31/08/2014 15:12, Martin Peres a ?crit : >>>> On 31/08/2014 15:00, Christian Costa wrote: >>>>> Otherwise some values are not tested at all. >>>> I would rather have a warning than the program doing stuff behind >>>> my back. This is a dev tool, dumb == good ;) >>>> >>> But why didn't you call it Dumb mode rather that Deep mode. That >>> way, I wouldn't have tried to use it and figure out what it does. ;p >> >> Target is supposed to be higher than initial! Initial == minimum safe >> timing. >> >> You just reversed the order, try: >> sudo nvamemtiming pramin 0x6a22 5 0 -d 3 >> > Ok. It's intended then. Thanks!I totally agree that this tool is a little confusing. If you have suggestions on how to improve the usage doc, feel free to propose me something better :) fprintf(stderr, "\t-d timing_entry_high: For each indexes, iterate between the timing_entry and the timing_entry_high value (Deep mode)\n"); Speaking about this, this should be corrected to "For each index", no plural after each. I'll fix it right now.
Maybe Matching Threads
- [PATCH envytools] nvamemtiming: Handle target < initial case when iterating values
- [PATCH envytools] nvamemtiming: Handle target < initial case when iterating values
- [PATCH envytools] nvamemtiming: Handle target < initial case when iterating values
- [PATCH envytools] nvamemtiming: Handle target < initial case when iterating values
- [PATCH envytools] nvamemtiming: Handle target < initial case when iterating values