Re: [PATCH] lib/drmtest: skip suspend tests in simulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 12, 2013 at 2:30 PM, Damien Lespiau
<damien.lespiau@xxxxxxxxx> wrote:
> On Thu, Sep 12, 2013 at 02:02:30PM +0200, Daniel Vetter wrote:
>> The simulator doesn't like this nor really support it :(
>>
>> Cc: Ben Widawsky <benjamin.widawsky@xxxxxxxxx>
>> Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
>> Cc: Damien Lespiau <damien.lespiau@xxxxxxxxx>
>> Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
>
> Aye! (I recall we don't really need that for i-g-t, but can't hurt)
>
> Reviewed-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>

Actually on second thought we should try to at least run our driver
suspend/resume code a bit, maybe using the pm debug stuff in sysfs,
i.e.

echo devices > /sys/power/pm_test
echo mem > /sys/power/state

That should avoid any issues due to the platform being bonghits. And
we could use it even on really early SDVs when the firmware code isn't
stable yet (or other drivers not yet up to the task).

Comments?
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux