Skip to contentSkip to conversation

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Mar 16, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Dave,

Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/i915/intel_display.c between commit 2dccc9898d45 ("drm/i915: Ensure plane->state->fb stays in sync with plane->fb") from the drm-intel-fixes tree and commit afd65eb4cc05 ("drm/i915: Ensure plane->state->fb stays in sync with plane->fb"), f55548b5af87 ("drm/i915: Don't try to reference the fb in get_initial_plane_config()") and presumably others from the drm tree.

Same patch summary, different authors, committers and added function.

I fixed it up (I effectively used the drm tree version) and can carry the fix as necessary (no action is required).

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 10 lines · Stephen Rothwell

Hi Dave,

Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/i915/intel_display.c between commit 2dccc9898d45 ("drm/i915: Ensure plane->state->fb stays in sync with plane->fb") from the drm-intel-fixes tree and commit afd65eb4cc05 ("drm/i915: Ensure plane->state->fb stays in sync with plane->fb"), f55548b5af87 ("drm/i915: Don't try to reference the fb in get_initial_plane_config()") and presumably others from the drm tree.

Quoted 5 lines

Same patch summary, different authors, committers and added function.

I fixed it up (I effectively used the drm tree version) and can carry the fix as necessary (no action is required).

My patch with commit 2dccc9898d45 is for Linux 4.0-rcN. It has no relationship
with linux-next since Matt Roper's afd65eb4cc05 has solved this long
long ago.

So, 2dccc9898d45 should not be tagged with for-linux-next-fixes (in repository
http://cgit.freedesktop.org/drm-intel/). I think it caused the mess of version control.

BTW, there is still one thing should be done in linux-next. We should change Matt's update_state_fb to use drm_atomic_set_fb_for_plane since the logic of Matt's code is duplicated with drm_atomic_set_fb_for_plane.

Signature · 3 lines
Xi Ruoyao
School of Aerospace Science and Technology
Xidian University, Xi'an, China
#2 lore raw
Quoted 13 lines · Xi Ruoyao
Quoted 12 lines · Stephen Rothwell

Hi Dave,

Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/i915/intel_display.c between commit 2dccc9898d45 ("drm/i915: Ensure plane->state->fb stays in sync with plane->fb") from the drm-intel-fixes tree and commit afd65eb4cc05 ("drm/i915: Ensure plane->state->fb stays in sync with plane->fb"), f55548b5af87 ("drm/i915: Don't try to reference the fb in get_initial_plane_config()") and presumably others from the drm tree.

Same patch summary, different authors, committers and added function.

Quoted 7 lines
Quoted 3 lines

I fixed it up (I effectively used the drm tree version) and can carry the fix as necessary (no action is required).

My patch with commit 2dccc9898d45 is for Linux 4.0-rcN. It has no relationship
with linux-next since Matt Roper's afd65eb4cc05 has solved this long
long ago.

The relationship is that -next will eventually merge to Linus' master, so Matt's commit will conflict with yours. Your commit is taking the fast path to the kernel. But you don't have to worry about it, it's all taken care of. And per what Stephen says, he has done the right thing.

Quoted 4 lines

BTW, there is still one thing should be done in linux-next. We should change
Matt's update_state_fb to use drm_atomic_set_fb_for_plane since the logic of Matt's code is duplicated with drm_atomic_set_fb_for_plane.

Patches welcome in intel-gfx list; the audience here is too wide. ;)

BR,
Jani.

Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx