drm/i915/bdw: Broaden FBC resolution limit to 4096x4096
Subsystems (2)
PATCH 1/1 drm/i915/bdw: Broaden FBC resolution limit to 4096x4096
From: Daisy Sun <[email protected]>
Staring from BDW, the resolution limit of FBC has increased to 4096x4096>
Issue: APDEV-2935
Otc-Tracker: VIZ-3826
--- drivers/gpu/drm/i915/intel_pm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_pm.c +4 -1
@@ -529,7 +529,10 @@ void intel_update_fbc(struct drm_device *dev) goto out_disable; } -if (IS_G4X (dev) ||INTEL_INFO (dev)->gen >=5 ) { +if (INTEL_INFO (dev)->gen >=8 ) { + max_width =4096 ; + max_height =4096 ; + }else if (IS_G4X (dev) ||INTEL_INFO (dev)->gen >=5 ) { max_width =4096 ; max_height =2048 ; }else {
Signature · 1 line
1.8.3.1
Quoted 9 lines · Damien Lespiau
From: Daisy Sun <[email protected]>
Staring from BDW, the resolution limit of FBC has increased to 4096x4096>
Issue: APDEV-2935
Otc-Tracker: VIZ-3826Change-Id I842f64e3cf2c0d18d29ef1bcfef3b9bb1f1764acSigned-off-by Daisy Sun <[email protected]>
Signature · 1 line
Damien
Quoted 27 lines
--- drivers/gpu/drm/i915/intel_pm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/intel_pm.c +4
-1@@ -529,7 +529,10 @@ void intel_update_fbc(struct drm_device *dev) goto out_disable; } -if (IS_G4X (dev) ||INTEL_INFO (dev)->gen >=5 ) { +if (INTEL_INFO (dev)->gen >=8 ) { + max_width =4096 ; + max_height =4096 ; + }else if (IS_G4X (dev) ||INTEL_INFO (dev)->gen >=5 ) { max_width =4096 ; max_height =2048 ; }else {Signature · 6 lines
1.8.3.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines · Damien Lespiau
Quoted 5 lines · Damien Lespiau
From: Daisy Sun <[email protected]>
Staring from BDW, the resolution limit of FBC has increased to 4096x4096>
Quoted 6 lines
Quoted 4 lines
Issue: APDEV-2935
Otc-Tracker: VIZ-3826Change-Id I842f64e3cf2c0d18d29ef1bcfef3b9bb1f1764acSigned-off-by Daisy Sun <[email protected]>Reviewed-by Damien Lespiau <[email protected]>
Iirc 4kx4k is allowed on hsw already, albeit with the lower 2k lines being uncompressed. Please double-check bspec and update the patch.
Also: Please insert rant here that I've written a mail a year ago about the piles of little issues in our fbc feature checking. -Daniel
Quoted 35 lines
Signature · 2 lines
-- DamienQuoted 27 lines
--- drivers/gpu/drm/i915/intel_pm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/intel_pm.c +4
-1@@ -529,7 +529,10 @@ void intel_update_fbc(struct drm_device *dev) goto out_disable; } -if (IS_G4X (dev) ||INTEL_INFO (dev)->gen >=5 ) { +if (INTEL_INFO (dev)->gen >=8 ) { + max_width =4096 ; + max_height =4096 ; + }else if (IS_G4X (dev) ||INTEL_INFO (dev)->gen >=5 ) { max_width =4096 ; max_height =2048 ; }else {Signature · 6 lines
1.8.3.1 _______________________________________________ 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
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Yes, the change starts from HSW. I'll update the patch.
what's the "rant" I need to insert? I was not in the list a year ago:), having some trouble find the email as reference. Any archives I can look into?
Quoted 53 lines · Daniel Vetter
Quoted 11 lines · Damien Lespiau
Quoted 9 lines · Damien Lespiau
From: Daisy Sun <[email protected]>
Staring from BDW, the resolution limit of FBC has increased to 4096x4096>
Issue: APDEV-2935
Otc-Tracker: VIZ-3826Change-Id I842f64e3cf2c0d18d29ef1bcfef3b9bb1f1764acSigned-off-by Daisy Sun <[email protected]>Reviewed-by Damien Lespiau <[email protected]>Iirc 4kx4k is allowed on hsw already, albeit with the lower 2k lines being uncompressed. Please double-check bspec and update the patch.
Also: Please insert rant here that I've written a mail a year ago about the piles of little issues in our fbc feature checking. -Daniel
Quoted 34 lines
Signature · 1 line
DamienQuoted 27 lines
--- drivers/gpu/drm/i915/intel_pm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/intel_pm.c +4
-1@@ -529,7 +529,10 @@ void intel_update_fbc(struct drm_device *dev) goto out_disable; } -if (IS_G4X (dev) ||INTEL_INFO (dev)->gen >=5 ) { +if (INTEL_INFO (dev)->gen >=8 ) { + max_width =4096 ; + max_height =4096 ; + }else if (IS_G4X (dev) ||INTEL_INFO (dev)->gen >=5 ) { max_width =4096 ; max_height =2048 ; }else {Signature · 6 lines
1.8.3.1 _______________________________________________ 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
Quoted 4 lines · Daisy
Yes, the change starts from HSW. I'll update the patch. what's the "rant" I need to insert? I was not in the list a year ago:), having some trouble find the email as reference.
Any archives I can look into?
No rant to insert for you ;-) That was a placeholder in my mail, instead of boring people with all the details. Iirc that was to the internal mailing list, and could be older than a year even.
Essentially there's a bunch of constraints about pixel depth and pfit usage on recent platforms that we don't quite check correctly. Your patch update to check for gen >= 8 || IS_HASWELL is perfectly fine as-is.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
IC. I started working from BDW FBC, did not check all the gens thoroughly:-) Sent out a version 2 just now.
- Daisy
Quoted 14 lines · Daniel Vetter
Quoted 4 lines · Daisy
Yes, the change starts from HSW. I'll update the patch. what's the "rant" I need to insert? I was not in the list a year ago:), having some trouble find the email as reference.
Any archives I can look into?No rant to insert for you ;-) That was a placeholder in my mail, instead of boring people with all the details. Iirc that was to the internal mailing list, and could be older than a year even.
Essentially there's a bunch of constraints about pixel depth and pfit usage on recent platforms that we don't quite check correctly. Your patch update to check for gen >= 8 ||
IS_HASWELLis perfectly fine as-is.
-Daniel