[igt-dev] [PATCH i-g-t v11] tests/i915/i915_pm_dc: Add DC9 igt test

Dixit, Ashutosh ashutosh.dixit at intel.com
Tue Mar 23 14:54:15 UTC 2021


On Mon, 22 Mar 2021 03:25:52 -0700, Gupta, Anshuman wrote:
> > -----Original Message-----
> > From: Bhatt, Jigar <jigar.bhatt at intel.com>
> > Sent: Monday, March 22, 2021 1:16 PM
> > To: igt-dev at lists.freedesktop.org
> > Cc: Bhatt, Jigar <jigar.bhatt at intel.com>; Gupta, Anshuman
> > <anshuman.gupta at intel.com>
> > Subject: [PATCH i-g-t v11] tests/i915/i915_pm_dc: Add DC9 igt test
> >
> > DC9 igt test validation depends on DC{5,6} counters reset.
> > When Display Engine enters to DC9, it resets DMC f/w and DC5/DC6 counter.
> > We don't have a DC9 counter unlike DC{5,6}, therefore this tests uses DC{5,6}
> > counter reset method to validate DC9.
> Reviewed-by: Anshuman Gupta <anshuman.gupta at intel.com>

Merged in spite of this warning?

[4/383] Compiling C object 'test..._pm_dc at exe/i915_i915_pm_dc.c.o'.
../tests/i915/i915_pm_dc.c: In function ‘test_dc9_dpms’:
../tests/i915/i915_pm_dc.c:421:8: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
        bool dc6_supported = support_dc6(data->debugfs_fd);
        ^~~~
[27/27] Linking target tests/kms_color_chamelium.


More information about the igt-dev mailing list