[Intel-gfx] [PATCH] lib/drmtest: skip suspend tests in simulation

Daniel Vetter daniel.vetter at ffwll.ch
Thu Sep 12 14:51:58 CEST 2013


On Thu, Sep 12, 2013 at 2:30 PM, Damien Lespiau
<damien.lespiau at intel.com> 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 at intel.com>
>> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
>> Cc: Damien Lespiau <damien.lespiau at intel.com>
>> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>
> Aye! (I recall we don't really need that for i-g-t, but can't hurt)
>
> Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>

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



More information about the Intel-gfx mailing list