On Thu, Feb 3, 2011 at 2:10 PM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > Maybe the right thing to do is to set it to 'unknown', something like this. > > TOTALLY UNTESTED! Doing some grepping and "git blame", I found this: commit 032d2a0d068 ("drm/i915: Prevent double dpms on") which took a very similar approach, except it just uses "-1" directly instead of introducing that DRM_MODE_DPMS_UNKNOWN concept. So I suspect that my patch is going in the right direction, and judging by the comments in that commit, we probably should do this correctly at the dri level rather than have drivers see those stupid "let's set dpms to the state that it was already in". But that very much does require that kind of "UNKNOWN" state option. So maybe we can get that patch tested (and acked if it works)? Carlos, Takashi? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html