[PATCH 3/5] nouveau: Add interface to detect optimus support

Dave Airlie airlied at gmail.com
Mon Sep 10 13:24:25 PDT 2012


On Tue, Sep 11, 2012 at 2:25 AM, Lekensteyn <lekensteyn at gmail.com> wrote:
> Hi Dave,
>
>> +bool nouveau_is_optimus(void) {
>> +     return nouveau_dsm_priv.optimus_detected;
>> +}
> This will only work for new Optimus laptops, not the older ones such as your
> Lenovo T410s or on a Dell Vostro 3500 with a GT 310M. Is that intended? If
> not, check for those models too:
>

Works fine on my T410s from what I can see, though yes I understand
the older ones probably won't work

I'm still not 100% sure how best to deal with the older ones.

Dave.


More information about the dri-devel mailing list