Re: [Intel-gfx] Power Management

2019-09-11 Thread Jani Nikula
On Wed, 11 Sep 2019, Robert Dinse  wrote:
> Can anyone tell me how to disable power management in the i915
> drivers?  It appears enable_rc6 has been disabled?

Why do you think you need it? See [1]. If you have issues, please file
bugs at [2].

BR,
Jani.


[1] https://en.wikipedia.org/wiki/XY_problem
[2] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI=DRM/Intel

-- 
Jani Nikula, Intel Open Source Graphics Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Intel-gfx] Power Management

2019-09-11 Thread Robert Dinse


 Can anyone tell me how to disable power management in the i915 drivers?
It appears enable_rc6 has been disabled?

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] Power management test in DP compliance suite

2017-06-08 Thread Ville Syrjälä
On Thu, Jun 08, 2017 at 04:36:25PM +, Navare, Manasi D wrote:
> On Thu, Jun 08, 2017 at 12:59:23AM +, 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


Re: [Intel-gfx] Power management test in DP compliance suite

2017-06-08 Thread Navare, Manasi D
On Thu, Jun 08, 2017 at 12:59:23AM +, 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


Re: [Intel-gfx] Power management test in DP compliance suite

2017-06-08 Thread Ville Syrjälä
On Thu, Jun 08, 2017 at 12:59:23AM +, 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


[Intel-gfx] Power management test in DP compliance suite

2017-06-07 Thread Navare, Manasi D
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

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