Message ID | 1302587499-9962-2-git-send-email-chris@chris-wilson.co.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Am Dienstag, den 12.04.2011, 06:51 +0100 schrieb Chris Wilson: > From: Mathew McKernan <matmckernan@rauland.com.au> > > During detect() we would probe the connection bits to determine if > there was a TV attached, and what video input type (Component, S-Video, > Composite, etc) to use. However, we promptly discarded this vital bit of > information and never propagated it to where it was used to determine > the correct modes and setup the control registers. Fix it! > > This fixes a regression from 7b334fcb45b757ffb093696ca3de1b0c8b4a33f1. To quote Mark Brown [1]. Always include the subject line of the commit in patches - readers are unlikely to have memorised commit IDs. > Reported-and-tested-by: Mathew McKernan <matmckernan@rauland.com.au> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35977 > Signed-off-by: Mathew McKernan <matmckernan@rauland.com.au> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> > Cc: stable@kernel.org Acked-by: Paul Menzel <paulepanter@users.sourceforge.net> […] Thanks, Paul [1] http://mailman.alsa-project.org/pipermail/alsa-devel/2011-February/037200.html
On Tue, 12 Apr 2011 10:34:41 +0200, Paul Menzel <paulepanter@users.sourceforge.net> wrote: > Am Dienstag, den 12.04.2011, 06:51 +0100 schrieb Chris Wilson: > > This fixes a regression from 7b334fcb45b757ffb093696ca3de1b0c8b4a33f1. > > To quote Mark Brown [1]. > > Always include the subject line of the commit in patches - > readers are unlikely to have memorised commit IDs. Does it really help to include the subject as well? I suppose it will help in the case where the patch has been cherry-picked into other trees, stable for instance. However, I truly didn't expect anyone to remember the original commit as the first thing I do is to read through the identified commit to try and understand the subsequent patch in context. -Chris
Am Dienstag, den 12.04.2011, 09:43 +0100 schrieb Chris Wilson: > On Tue, 12 Apr 2011 10:34:41 +0200, Paul Menzel <paulepanter@users.sourceforge.net> wrote: > > Am Dienstag, den 12.04.2011, 06:51 +0100 schrieb Chris Wilson: > > > This fixes a regression from 7b334fcb45b757ffb093696ca3de1b0c8b4a33f1. > > > > To quote Mark Brown [1]. > > > > Always include the subject line of the commit in patches - > > readers are unlikely to have memorised commit IDs. > > Does it really help to include the subject as well? I suppose it will help > in the case where the patch has been cherry-picked into other trees, > stable for instance. However, I truly didn't expect anyone to remember the > original commit as the first thing I do is to read through the identified > commit to try and understand the subsequent patch in context. In my opinion the reason is especially the first one you mentioned. Thanks, Paul
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c index c27887f..84a733b 100644 --- a/drivers/gpu/drm/i915/intel_tv.c +++ b/drivers/gpu/drm/i915/intel_tv.c @@ -1356,7 +1356,9 @@ intel_tv_detect(struct drm_connector *connector, bool force) if (type < 0) return connector_status_disconnected; + intel_tv->type = type; intel_tv_find_better_format(connector); + return connector_status_connected; }