public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* Power management test in DP compliance suite
@ 2017-06-08  0:59 Navare, Manasi D
  2017-06-08 13:26 ` Ville Syrjälä
  0 siblings, 1 reply; 4+ messages in thread
From: Navare, Manasi D @ 2017-06-08  0:59 UTC (permalink / raw)
  To: intel-gfx@lists.freedesktop.org


[-- Attachment #1.1: Type: text/plain, Size: 789 bytes --]

Hi,

I am executing the DP compliance test suite and the only test currently failing with the drm-tip  + my patch  (https://patchwork.freedesktop.org/series/25191/)
Is the power management test (4.4.3) where it expects the source DUT to go into Power state D3 by setting DPCD register 0x600 to 2 as requested by the test GUI and then exit to normal operation by writing 1 to that DPCD register.

I see that in the code intel_dp_sink_dpms() with DPMS_OFF will set that register to 2 and then with DPMS on it sets it to 1, but since that happens only during encoder disable and enable, I am not sure how it will happen through this test.

Any thoughts? Please refer to the section 4.4.3 in the CTS spec.

Regards
Manasi Navare
Graphics Kernel Developer
OTC, Intel Corporation


[-- Attachment #1.2: Type: text/html, Size: 3447 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Power management test in DP compliance suite
  2017-06-08  0:59 Power management test in DP compliance suite Navare, Manasi D
@ 2017-06-08 13:26 ` Ville Syrjälä
  2017-06-08 16:36   ` Navare, Manasi D
  0 siblings, 1 reply; 4+ messages in thread
From: Ville Syrjälä @ 2017-06-08 13:26 UTC (permalink / raw)
  To: Navare, Manasi D; +Cc: intel-gfx@lists.freedesktop.org

On Thu, Jun 08, 2017 at 12:59:23AM +0000, Navare, Manasi D wrote:
> Hi,
> 
> I am executing the DP compliance test suite and the only test currently failing with the drm-tip  + my patch  (https://patchwork.freedesktop.org/series/25191/)
> Is the power management test (4.4.3) where it expects the source DUT to go into Power state D3 by setting DPCD register 0x600 to 2 as requested by the test GUI and then exit to normal operation by writing 1 to that DPCD register.
> 
> I see that in the code intel_dp_sink_dpms() with DPMS_OFF will set that register to 2 and then with DPMS on it sets it to 1, but since that happens only during encoder disable and enable, I am not sure how it will happen through this test.
> 
> Any thoughts? Please refer to the section 4.4.3 in the CTS spec.

There doesn't seem to support for automated test request for this stuff,
so it has to be done manually. What we should do in the test application
is ConnectorSetProperty(DPMS, OFF) + ConnectorSetProperty(DPMS, ON).

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Power management test in DP compliance suite
  2017-06-08 13:26 ` Ville Syrjälä
@ 2017-06-08 16:36   ` Navare, Manasi D
  2017-06-08 17:19     ` Ville Syrjälä
  0 siblings, 1 reply; 4+ messages in thread
From: Navare, Manasi D @ 2017-06-08 16:36 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: intel-gfx@lists.freedesktop.org

On Thu, Jun 08, 2017 at 12:59:23AM +0000, Navare, Manasi D wrote:
> Hi,
> 
> I am executing the DP compliance test suite and the only test 
> currently failing with the drm-tip  + my patch  
> (https://patchwork.freedesktop.org/series/25191/)
> Is the power management test (4.4.3) where it expects the source DUT to go into Power state D3 by setting DPCD register 0x600 to 2 as requested by the test GUI and then exit to normal operation by writing 1 to that DPCD register.
> 
> I see that in the code intel_dp_sink_dpms() with DPMS_OFF will set that register to 2 and then with DPMS on it sets it to 1, but since that happens only during encoder disable and enable, I am not sure how it will happen through this test.
> 
> Any thoughts? Please refer to the section 4.4.3 in the CTS spec.

There doesn't seem to support for automated test request for this stuff, so it has to be done manually. What we should do in the test application is ConnectorSetProperty(DPMS, OFF) + ConnectorSetProperty(DPMS, ON).

But DPR 120 does not send a special power management test request, so when should the app set DPMS property OFF and ON?
Is DPMS a property exposed through Connector properties?

Manasi

--
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Power management test in DP compliance suite
  2017-06-08 16:36   ` Navare, Manasi D
@ 2017-06-08 17:19     ` Ville Syrjälä
  0 siblings, 0 replies; 4+ messages in thread
From: Ville Syrjälä @ 2017-06-08 17:19 UTC (permalink / raw)
  To: Navare, Manasi D; +Cc: intel-gfx@lists.freedesktop.org

On Thu, Jun 08, 2017 at 04:36:25PM +0000, Navare, Manasi D wrote:
> On Thu, Jun 08, 2017 at 12:59:23AM +0000, Navare, Manasi D wrote:
> > Hi,
> > 
> > I am executing the DP compliance test suite and the only test 
> > currently failing with the drm-tip  + my patch  
> > (https://patchwork.freedesktop.org/series/25191/)
> > Is the power management test (4.4.3) where it expects the source DUT to go into Power state D3 by setting DPCD register 0x600 to 2 as requested by the test GUI and then exit to normal operation by writing 1 to that DPCD register.
> > 
> > I see that in the code intel_dp_sink_dpms() with DPMS_OFF will set that register to 2 and then with DPMS on it sets it to 1, but since that happens only during encoder disable and enable, I am not sure how it will happen through this test.
> > 
> > Any thoughts? Please refer to the section 4.4.3 in the CTS spec.
> 
> There doesn't seem to support for automated test request for this stuff, so it has to be done manually. What we should do in the test application is ConnectorSetProperty(DPMS, OFF) + ConnectorSetProperty(DPMS, ON).
> 
> But DPR 120 does not send a special power management test request, so when should the app set DPMS property OFF and ON?

Yes, so presumably the user has to manually do it.

> Is DPMS a property exposed through Connector properties?

Yes. See kmstest_connector_dpms_something() in igt.

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-08 17:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-08  0:59 Power management test in DP compliance suite Navare, Manasi D
2017-06-08 13:26 ` Ville Syrjälä
2017-06-08 16:36   ` Navare, Manasi D
2017-06-08 17:19     ` Ville Syrjälä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox