* [PATCH] drm/i915: Disable 12bpc hdmi for now
@ 2015-05-28 7:41 Daniel Vetter
2015-05-28 8:58 ` Ander Conselvan De Oliveira
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Vetter @ 2015-05-28 7:41 UTC (permalink / raw)
To: Intel Graphics Development; +Cc: Daniel Vetter, Daniel Vetter
It's totally broken, and since
commit d328c9d78d64ca11e744fe227096990430a88477
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Fri Apr 10 16:22:37 2015 +0200
drm/i915: Select starting pipe bpp irrespective or the primary plane
the kernel will try to use it even for the common rgb888 framebuffers.
Ville has patches to fix it all up properly, but unfortunately they're
stuck in review limbo. And since the 4.2 feature cutoff has passed we
need to somehow handle this regression.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Paulo Zanoni <przanoni@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
drivers/gpu/drm/i915/intel_hdmi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index 4117092ab2e3..e97731aab6dc 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -1036,7 +1036,8 @@ bool intel_hdmi_compute_config(struct intel_encoder *encoder,
*/
if (pipe_config->pipe_bpp > 8*3 && pipe_config->has_hdmi_sink &&
clock_12bpc <= portclock_limit &&
- hdmi_12bpc_possible(pipe_config)) {
+ hdmi_12bpc_possible(pipe_config) &&
+ 0 /* FIXME 12bpc support totally broken */) {
DRM_DEBUG_KMS("picking bpc to 12 for HDMI output\n");
desired_bpp = 12*3;
--
2.1.4
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] drm/i915: Disable 12bpc hdmi for now
2015-05-28 7:41 [PATCH] drm/i915: Disable 12bpc hdmi for now Daniel Vetter
@ 2015-05-28 8:58 ` Ander Conselvan De Oliveira
2015-05-28 12:22 ` Daniel Vetter
0 siblings, 1 reply; 3+ messages in thread
From: Ander Conselvan De Oliveira @ 2015-05-28 8:58 UTC (permalink / raw)
To: Daniel Vetter; +Cc: Daniel Vetter, Intel Graphics Development
On Thu, 2015-05-28 at 09:41 +0200, Daniel Vetter wrote:
> It's totally broken, and since
>
> commit d328c9d78d64ca11e744fe227096990430a88477
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date: Fri Apr 10 16:22:37 2015 +0200
>
> drm/i915: Select starting pipe bpp irrespective or the primary plane
>
> the kernel will try to use it even for the common rgb888 framebuffers.
> Ville has patches to fix it all up properly, but unfortunately they're
> stuck in review limbo. And since the 4.2 feature cutoff has passed we
> need to somehow handle this regression.
You might want to add
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90460
Ander
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Cc: Paulo Zanoni <przanoni@gmail.com>
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> ---
> drivers/gpu/drm/i915/intel_hdmi.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
> index 4117092ab2e3..e97731aab6dc 100644
> --- a/drivers/gpu/drm/i915/intel_hdmi.c
> +++ b/drivers/gpu/drm/i915/intel_hdmi.c
> @@ -1036,7 +1036,8 @@ bool intel_hdmi_compute_config(struct intel_encoder *encoder,
> */
> if (pipe_config->pipe_bpp > 8*3 && pipe_config->has_hdmi_sink &&
> clock_12bpc <= portclock_limit &&
> - hdmi_12bpc_possible(pipe_config)) {
> + hdmi_12bpc_possible(pipe_config) &&
> + 0 /* FIXME 12bpc support totally broken */) {
> DRM_DEBUG_KMS("picking bpc to 12 for HDMI output\n");
> desired_bpp = 12*3;
>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] drm/i915: Disable 12bpc hdmi for now
2015-05-28 8:58 ` Ander Conselvan De Oliveira
@ 2015-05-28 12:22 ` Daniel Vetter
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2015-05-28 12:22 UTC (permalink / raw)
To: Ander Conselvan De Oliveira
Cc: Daniel Vetter, Intel Graphics Development, Daniel Vetter
On Thu, May 28, 2015 at 11:58:30AM +0300, Ander Conselvan De Oliveira wrote:
> On Thu, 2015-05-28 at 09:41 +0200, Daniel Vetter wrote:
> > It's totally broken, and since
> >
> > commit d328c9d78d64ca11e744fe227096990430a88477
> > Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Date: Fri Apr 10 16:22:37 2015 +0200
> >
> > drm/i915: Select starting pipe bpp irrespective or the primary plane
> >
> > the kernel will try to use it even for the common rgb888 framebuffers.
> > Ville has patches to fix it all up properly, but unfortunately they're
> > stuck in review limbo. And since the 4.2 feature cutoff has passed we
> > need to somehow handle this regression.
>
> You might want to add
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90460
Done, thanks.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-28 12:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28 7:41 [PATCH] drm/i915: Disable 12bpc hdmi for now Daniel Vetter
2015-05-28 8:58 ` Ander Conselvan De Oliveira
2015-05-28 12:22 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox