From: Stephen Rothwell <hidden> Date: 2012-09-24 03:18:46
Hi Dave,
After merging the drm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
drivers/gpu/drm/i915/intel_hdmi.c: In function 'intel_enable_hdmi':
drivers/gpu/drm/i915/intel_hdmi.c:633:31: error: 'mode' undeclared (first use in this function)
Caused by commit b98b60167279 ("drm/i915: HDMI - Clear Audio Enable bit
for Hot Plug") from Linus' tree interacting with commit 5ab432ef4997
("drm/i915/hdmi: convert to encoder->disable/enable") from the drm tree.
I added the following merge fix patch (which may be wrong, of course):
From: Stephen Rothwell <redacted>
Date: Mon, 24 Sep 2012 13:14:40 +1000
Subject: [PATCH] drm/i915: HDMI: update for API change
Signed-off-by: Stephen Rothwell <redacted>
---
drivers/gpu/drm/i915/intel_hdmi.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Daniel Vetter <hidden> Date: 2012-09-24 11:32:09
On Mon, Sep 24, 2012 at 01:18:34PM +1000, Stephen Rothwell wrote:
Hi Dave,
After merging the drm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
drivers/gpu/drm/i915/intel_hdmi.c: In function 'intel_enable_hdmi':
drivers/gpu/drm/i915/intel_hdmi.c:633:31: error: 'mode' undeclared (first use in this function)
Caused by commit b98b60167279 ("drm/i915: HDMI - Clear Audio Enable bit
for Hot Plug") from Linus' tree interacting with commit 5ab432ef4997
("drm/i915/hdmi: convert to encoder->disable/enable") from the drm tree.
I added the following merge fix patch (which may be wrong, of course):
From: Stephen Rothwell <redacted>
Date: Mon, 24 Sep 2012 13:14:40 +1000
Subject: [PATCH] drm/i915: HDMI: update for API change
Signed-off-by: Stephen Rothwell <redacted>
Looks good. I've known about this issue and tried to improve matters by
applying the patch to both trees (to at least force a conflict), but not
even with that patch applied in my drm-intel-next queue I get a proper
conflict. I guess I need to do a proper backmerge.
Fixup patch looks good for now.
Thanks, Daniel
From: Stephen Rothwell <hidden> Date: 2012-09-24 11:58:39
Hi Daniel,
On Mon, 24 Sep 2012 13:31:54 +0200 Daniel Vetter [off-list ref] wrote:
Looks good. I've known about this issue and tried to improve matters by
applying the patch to both trees (to at least force a conflict), but not
even with that patch applied in my drm-intel-next queue I get a proper
conflict. I guess I need to do a proper backmerge.
Fixup patch looks good for now.
If that is all that is needed, just make sure Linus is informed of the
merge conflict fix when he merged the drm tree. If there is more, it is
up to you and Dave. If you do a back merge, make sure that it is
properly commented.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au