Skip to contentSkip to conversation

drm/i915: Enable PSR by default.

PATCH In review Rodrigo Vivi 2 participants 5 messages Dec 3, 2015 – Dec 4, 2015

Subsystems (2)
lore
Share & tools
lore

Rodrigo Vivi

author maintainer
#0 lore raw

PATCH 1/1 drm/i915: Enable PSR by default.

With a reliable frontbuffer tracking and all instability corner cases solved let's re-enabled PSR by default on all supported platforms.

---
 drivers/gpu/drm/i915/i915_params.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/i915_params.c +2 -2
index 835d609..461c326 100644
@@ -37,7 +37,7 @@ struct i915_params i915 __read_mostly = {
 	.enable_execlists = -1,
 	.enable_hangcheck = true,
 	.enable_ppgtt = -1,
-	.enable_psr = 0,
+	.enable_psr = 1,
 	.preliminary_hw_support = IS_ENABLED(CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT),
 	.disable_power_well = -1,
 	.enable_ips = 1,
@@ -126,7 +126,7 @@ MODULE_PARM_DESC(enable_execlists,
 	"(-1=auto [default], 0=disabled, 1=enabled)");
 
 module_param_named_unsafe(enable_psr, i915.enable_psr, int, 0600);
-MODULE_PARM_DESC(enable_psr, "Enable PSR (default: false)");
+MODULE_PARM_DESC(enable_psr, "Enable PSR (default: true)");
 
 module_param_named_unsafe(preliminary_hw_support, i915.preliminary_hw_support, int, 0600);
 MODULE_PARM_DESC(preliminary_hw_support,
Signature · 6 lines
2.4.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Rodrigo Vivi

With a reliable frontbuffer tracking and all instability corner cases solved let's re-enabled PSR by default on all supported platforms.

Hm, one thing we're missing here still I think is that right now there's not yet a BAT for psr. At least I didn't spot anything in the CI overview. Is there a super-basic PSR testcase (just checking that we go into psr self-refresh is imo good enough), similar to what we have with runtime PM?

Also I guess we need to get the dp aux series from you in first. With BAT and outstanding series merged:

Awesome work!

Cheers, Daniel

Quoted 33 lines
---
 drivers/gpu/drm/i915/i915_params.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/i915_params.c +2 -2
index 835d609..461c326 100644
@@ -37,7 +37,7 @@ struct i915_params i915 __read_mostly = {
 	.enable_execlists = -1,
 	.enable_hangcheck = true,
 	.enable_ppgtt = -1,
-	.enable_psr = 0,
+	.enable_psr = 1,
 	.preliminary_hw_support = IS_ENABLED(CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT),
 	.disable_power_well = -1,
 	.enable_ips = 1,
@@ -126,7 +126,7 @@ MODULE_PARM_DESC(enable_execlists,
 	"(-1=auto [default], 0=disabled, 1=enabled)");
 
 module_param_named_unsafe(enable_psr, i915.enable_psr, int, 0600);
-MODULE_PARM_DESC(enable_psr, "Enable PSR (default: false)");
+MODULE_PARM_DESC(enable_psr, "Enable PSR (default: true)");
 
 module_param_named_unsafe(preliminary_hw_support, i915.preliminary_hw_support, int, 0600);
 MODULE_PARM_DESC(preliminary_hw_support,
Signature · 6 lines
2.4.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
author maintainer
#2 lore raw
Quoted 10 lines · Daniel Vetter
Quoted 5 lines · Rodrigo Vivi

With a reliable frontbuffer tracking and all instability corner cases
solved let's re-enabled PSR by default on all supported platforms.

Hm, one thing we're missing here still I think is that right now there's
not yet a BAT for psr.

Yes, agree.

Quoted 5 lines

At least I didn't spot anything in the CI overview.
Is there a super-basic PSR testcase (just checking that we go into psr
self-refresh is imo good enough), similar to what we have with runtime PM?

we had that in the past but in the end I removed. Maybe get it back and call basic. But also we could have few cases like page_flip, mmap_gtt and mmap_cpu as BAT as well. What do you think?

Quoted 2 lines

Also I guess we need to get the dp aux series from you in first.

Actually I believe the only required patch there is that one that check for message size. Would you accept split that patch from that series for now with a FIXME?
I promisse I won't give up on killing intel_dp_dpcd_read_wake ;)

Quoted 8 lines

With BAT
and outstanding series merged:

Awesome work!

Cheers, Daniel

Thank you very much!
Rodrigo.

Quoted 32 lines
Quoted 32 lines
---
 drivers/gpu/drm/i915/i915_params.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/i915_params.c +1 -1
index 835d609..461c326 100644
@@ -37,7 +37,7 @@ struct i915_params i915 __read_mostly = {
 	.enable_execlists = -1,
 	.enable_hangcheck = true,
 	.enable_ppgtt = -1,
-	.enable_psr = 0,
+	.enable_psr = 1,
 	.preliminary_hw_support = 
 IS_ENABLED(CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT),
 	.disable_power_well = -1,
drivers/gpu/drm/i915/i915_params.c +1 -1
 	.enable_ips = 1,
@@ -126,7 +126,7 @@ MODULE_PARM_DESC(enable_execlists,
 	"(-1=auto [default], 0=disabled, 1=enabled)");
 
 module_param_named_unsafe(enable_psr, i915.enable_psr, int, 0600);
-MODULE_PARM_DESC(enable_psr, "Enable PSR (default: false)");
+MODULE_PARM_DESC(enable_psr, "Enable PSR (default: true)");
 
 module_param_named_unsafe(preliminary_hw_support, 
 i915.preliminary_hw_support, int, 0600);

MODULE_PARM_DESC(preliminary_hw_support,

Signature · 1 line
2.4.3
Quoted 5 lines
Quoted 4 lines

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw
Quoted 20 lines · Rodrigo
Quoted 10 lines · Daniel Vetter
Quoted 5 lines · Rodrigo Vivi

With a reliable frontbuffer tracking and all instability corner cases
solved let's re-enabled PSR by default on all supported platforms.

Hm, one thing we're missing here still I think is that right now there's
not yet a BAT for psr.

Yes, agree.

Quoted 5 lines

At least I didn't spot anything in the CI overview.
Is there a super-basic PSR testcase (just checking that we go into psr
self-refresh is imo good enough), similar to what we have with runtime PM?

Quoted 3 lines

we had that in the past but in the end I removed. Maybe get it back and call basic. But also we could have few cases like page_flip, mmap_gtt and mmap_cpu as BAT as well. What do you think?

BAT is already taking a while to run, and any modeset tests we add take away more time. I think just a basic one should be good enough for BAT. Imo BAT really should be just the "is this total crap?" test. We will still run full igt (at least that's my goal) on any patch that goes in, with the goal to run all the fast tests (less than 1 minute or so) pre-merge. In this glorious future BAT will only decide whether more tests should even be started.

Quoted 6 lines
Quoted 1 line

Also I guess we need to get the dp aux series from you in first.

Actually I believe the only required patch there is that one that check for message size. Would you accept split that patch from that series for now with a FIXME?
I promisse I won't give up on killing intel_dp_dpcd_read_wake ;)

Makes sense I'd say.

Cheers, Daniel

Quoted 50 lines
Quoted 9 lines

With BAT
and outstanding series merged:

Awesome work!

Cheers, Daniel

Thank you very much!
Rodrigo.

Quoted 37 lines
Quoted 36 lines
---
 drivers/gpu/drm/i915/i915_params.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/i915_params.c +1 -1
index 835d609..461c326 100644
@@ -37,7 +37,7 @@ struct i915_params i915 __read_mostly = {
 	.enable_execlists = -1,
 	.enable_hangcheck = true,
 	.enable_ppgtt = -1,
-	.enable_psr = 0,
+	.enable_psr = 1,
 	.preliminary_hw_support = 
 IS_ENABLED(CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT),
 	.disable_power_well = -1,
drivers/gpu/drm/i915/i915_params.c +1 -1
 	.enable_ips = 1,
@@ -126,7 +126,7 @@ MODULE_PARM_DESC(enable_execlists,
 	"(-1=auto [default], 0=disabled, 1=enabled)");
 
 module_param_named_unsafe(enable_psr, i915.enable_psr, int, 0600);
-MODULE_PARM_DESC(enable_psr, "Enable PSR (default: false)");
+MODULE_PARM_DESC(enable_psr, "Enable PSR (default: true)");
 
 module_param_named_unsafe(preliminary_hw_support, 
 i915.preliminary_hw_support, int, 0600);

MODULE_PARM_DESC(preliminary_hw_support,

Signature · 6 lines
2.4.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
author maintainer
#4 lore raw
Quoted 29 lines · Daniel Vetter
Quoted 22 lines · Rodrigo
Quoted 11 lines · Daniel Vetter
Quoted 6 lines · Rodrigo Vivi

With a reliable frontbuffer tracking and all instability corner cases
solved let's re-enabled PSR by default on all supported platforms.

Hm, one thing we're missing here still I think is that right now there's
not yet a BAT for psr.

Yes, agree.

Quoted 6 lines

At least I didn't spot anything in the CI overview.
Is there a super-basic PSR testcase (just checking that we go into
psr
self-refresh is imo good enough), similar to what we have with runtime PM?

Quoted 5 lines

we had that in the past but in the end I removed. Maybe get it back and
call basic. But also we could have few cases like page_flip, mmap_gtt
and mmap_cpu as BAT as well. What do you think?

Quoted 11 lines

BAT is already taking a while to run, and any modeset tests we add take
away more time. I think just a basic one should be good enough for BAT.
Imo BAT really should be just the "is this total crap?" test. We will still run full igt (at least that's my goal) on any patch that goes in,
with the goal to run all the fast tests (less than 1 minute or so) pre-merge. In this glorious future BAT will only decide whether more tests
should even be started.

Makes sense.

Quoted 11 lines
Quoted 9 lines
Quoted 2 lines

Also I guess we need to get the dp aux series from you in first.

Actually I believe the only required patch there is that one that check
for message size. Would you accept split that patch from that series
for now with a FIXME?
I promisse I won't give up on killing intel_dp_dpcd_read_wake ;)

Makes sense I'd say.

Thanks!

Quoted 54 lines

Cheers, Daniel

Quoted 51 lines
Quoted 9 lines

With BAT
and outstanding series merged:

Awesome work!

Cheers, Daniel

Thank you very much!
Rodrigo.

Quoted 38 lines
Quoted 37 lines
---
 drivers/gpu/drm/i915/i915_params.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/i915_params.c +1 -1
index 835d609..461c326 100644
@@ -37,7 +37,7 @@ struct i915_params i915 __read_mostly = {
 	.enable_execlists = -1,
 	.enable_hangcheck = true,
 	.enable_ppgtt = -1,
-	.enable_psr = 0,
+	.enable_psr = 1,
 	.preliminary_hw_support = 
 IS_ENABLED(CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT),
 	.disable_power_well = -1,
drivers/gpu/drm/i915/i915_params.c +1 -1
 	.enable_ips = 1,
@@ -126,7 +126,7 @@ MODULE_PARM_DESC(enable_execlists,
 	"(-1=auto [default], 0=disabled, 1=enabled)");
 
 module_param_named_unsafe(enable_psr, i915.enable_psr, int, 
 0600);
-MODULE_PARM_DESC(enable_psr, "Enable PSR (default: false)");
+MODULE_PARM_DESC(enable_psr, "Enable PSR (default: true)");
 
 module_param_named_unsafe(preliminary_hw_support, 

i915.preliminary_hw_support, int, 0600);
MODULE_PARM_DESC(preliminary_hw_support,

Signature · 6 lines
2.4.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx