Re: linux-next: manual merge of the drm-misc tree with Linus' tree
Hi all, On Wed, 26 Aug 2020 10:01:13 +1000 Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the drm-misc tree got conflicts in: > > drivers/video/fbdev/arcfb.c > drivers/video/fbdev/atmel_lcdfb.c > drivers/video/fbdev/savage/savagefb_driver.c > > between commit: > > df561f6688fe ("treewide: Use fallthrough pseudo-keyword") > > from Linus' tree and commit: > > ad04fae0de07 ("fbdev: Use fallthrough pseudo-keyword") > > from the drm-misc tree. > > I fixed it up (they are much the same, I just used the version from Linus' > tree) and can carry the fix as necessary. This is now fixed as far as > linux-next is concerned, but any non trivial conflicts should be mentioned > to your upstream maintainer when your tree is submitted for merging. > You may also want to consider cooperating with the maintainer of the > conflicting tree to minimise any particularly complex conflicts. These conflicts now appear in the merge between the drm tree and Linus' tree. -- Cheers, Stephen Rothwell pgpkUDftM3X1q.pgp Description: OpenPGP digital signature
Re: linux-next: manual merge of the drm-misc tree with Linus' tree
Hi all, On Thu, 15 Mar 2018 14:14:25 +1100 Stephen Rothwellwrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > sound/pci/hda/hda_intel.c > > between commits: > > 1ba8f9d30817 ("ALSA: hda: Add a power_save blacklist") > 40088dc4e1ea ("ALSA: hda - Revert power_save option default value") > > from Linus' tree and commit: > > 07f4f97d7b4b ("vga_switcheroo: Use device link for HDA controller") > > from the drm-misc tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc sound/pci/hda/hda_intel.c > index d5017adf9feb,ec4e6b829ee2.. > --- a/sound/pci/hda/hda_intel.c > +++ b/sound/pci/hda/hda_intel.c > @@@ -2219,8 -2201,8 +2223,9 @@@ static int azx_probe_continue(struct az > struct hda_intel *hda = container_of(chip, struct hda_intel, chip); > struct hdac_bus *bus = azx_bus(chip); > struct pci_dev *pci = chip->pci; > + struct hda_codec *codec; > int dev = chip->dev_index; > +int val; > int err; > > hda->probe_continued = 1; > @@@ -2302,21 -2284,16 +2307,30 @@@ > chip->running = 1; > azx_add_card_list(chip); > > +val = power_save; > +#ifdef CONFIG_PM > +if (pm_blacklist) { > +const struct snd_pci_quirk *q; > + > +q = snd_pci_quirk_lookup(chip->pci, power_save_blacklist); > +if (q && val) { > +dev_info(chip->card->dev, "device %04x:%04x is on the > power_save blacklist, forcing power_save to 0\n", > + q->subvendor, q->subdevice); > +val = 0; > +} > +} > +#endif /* CONFIG_PM */ > ++ > + /* > + * The discrete GPU cannot power down unless the HDA controller runtime > + * suspends, so activate runtime PM on codecs even if power_save == 0. > + */ > + if (use_vga_switcheroo(hda)) > + list_for_each_codec(codec, >bus) > + codec->auto_runtime_pm = 1; > + > -snd_hda_set_power_save(>bus, power_save * 1000); > +snd_hda_set_power_save(>bus, val * 1000); > - if (azx_has_pm_runtime(chip) || hda->use_vga_switcheroo) > + if (azx_has_pm_runtime(chip)) > pm_runtime_put_autosuspend(>dev); > > out_free: This is now a conflict between the drm tree and Linus' tree. -- Cheers, Stephen Rothwell pgpyHZrOBqB_q.pgp Description: OpenPGP digital signature
Re: linux-next: manual merge of the drm-misc tree with Linus' tree
Hi all, On Thu, 15 Mar 2018 14:14:25 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > sound/pci/hda/hda_intel.c > > between commits: > > 1ba8f9d30817 ("ALSA: hda: Add a power_save blacklist") > 40088dc4e1ea ("ALSA: hda - Revert power_save option default value") > > from Linus' tree and commit: > > 07f4f97d7b4b ("vga_switcheroo: Use device link for HDA controller") > > from the drm-misc tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc sound/pci/hda/hda_intel.c > index d5017adf9feb,ec4e6b829ee2.. > --- a/sound/pci/hda/hda_intel.c > +++ b/sound/pci/hda/hda_intel.c > @@@ -2219,8 -2201,8 +2223,9 @@@ static int azx_probe_continue(struct az > struct hda_intel *hda = container_of(chip, struct hda_intel, chip); > struct hdac_bus *bus = azx_bus(chip); > struct pci_dev *pci = chip->pci; > + struct hda_codec *codec; > int dev = chip->dev_index; > +int val; > int err; > > hda->probe_continued = 1; > @@@ -2302,21 -2284,16 +2307,30 @@@ > chip->running = 1; > azx_add_card_list(chip); > > +val = power_save; > +#ifdef CONFIG_PM > +if (pm_blacklist) { > +const struct snd_pci_quirk *q; > + > +q = snd_pci_quirk_lookup(chip->pci, power_save_blacklist); > +if (q && val) { > +dev_info(chip->card->dev, "device %04x:%04x is on the > power_save blacklist, forcing power_save to 0\n", > + q->subvendor, q->subdevice); > +val = 0; > +} > +} > +#endif /* CONFIG_PM */ > ++ > + /* > + * The discrete GPU cannot power down unless the HDA controller runtime > + * suspends, so activate runtime PM on codecs even if power_save == 0. > + */ > + if (use_vga_switcheroo(hda)) > + list_for_each_codec(codec, >bus) > + codec->auto_runtime_pm = 1; > + > -snd_hda_set_power_save(>bus, power_save * 1000); > +snd_hda_set_power_save(>bus, val * 1000); > - if (azx_has_pm_runtime(chip) || hda->use_vga_switcheroo) > + if (azx_has_pm_runtime(chip)) > pm_runtime_put_autosuspend(>dev); > > out_free: This is now a conflict between the drm tree and Linus' tree. -- Cheers, Stephen Rothwell pgpyHZrOBqB_q.pgp Description: OpenPGP digital signature
Re: linux-next: manual merge of the drm-misc tree with Linus' tree
Hi all, On Tue, 20 Mar 2018 12:08:41 +1100 Stephen Rothwellwrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > drivers/gpu/drm/sun4i/sun4i_tcon.h > > between commit: > > e742a17cd360 ("drm/sun4i: tcon: Reduce the scope of the LVDS error a bit") > > from Linus' tree and commit: > > 6664e9dc5383 ("drm/sun4i: Add support for A80 TCONs") > > from the drm-misc tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc drivers/gpu/drm/sun4i/sun4i_tcon.h > index abdc6ad6b384,d3a945b7bb60.. > --- a/drivers/gpu/drm/sun4i/sun4i_tcon.h > +++ b/drivers/gpu/drm/sun4i/sun4i_tcon.h > @@@ -176,7 -176,7 +176,8 @@@ struct sun4i_tcon_quirks > boolhas_channel_1; /* a33 does not have channel 1 */ > boolhas_lvds_alt; /* Does the LVDS clock have a parent other than > the TCON clock? */ > boolneeds_de_be_mux; /* sun6i needs mux to select backend */ > +boolsupports_lvds; /* Does the TCON support an LVDS output? */ > + boolneeds_edp_reset; /* a80 edp reset needed for tcon0 access */ > > /* callback to handle tcon muxing options */ > int (*set_mux)(struct sun4i_tcon *, const struct drm_encoder *); This is now a conflict between the drm tree and Linus' tree. -- Cheers, Stephen Rothwell pgpDi2xg3Unhd.pgp Description: OpenPGP digital signature
Re: linux-next: manual merge of the drm-misc tree with Linus' tree
Hi all, On Tue, 20 Mar 2018 12:08:41 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > drivers/gpu/drm/sun4i/sun4i_tcon.h > > between commit: > > e742a17cd360 ("drm/sun4i: tcon: Reduce the scope of the LVDS error a bit") > > from Linus' tree and commit: > > 6664e9dc5383 ("drm/sun4i: Add support for A80 TCONs") > > from the drm-misc tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc drivers/gpu/drm/sun4i/sun4i_tcon.h > index abdc6ad6b384,d3a945b7bb60.. > --- a/drivers/gpu/drm/sun4i/sun4i_tcon.h > +++ b/drivers/gpu/drm/sun4i/sun4i_tcon.h > @@@ -176,7 -176,7 +176,8 @@@ struct sun4i_tcon_quirks > boolhas_channel_1; /* a33 does not have channel 1 */ > boolhas_lvds_alt; /* Does the LVDS clock have a parent other than > the TCON clock? */ > boolneeds_de_be_mux; /* sun6i needs mux to select backend */ > +boolsupports_lvds; /* Does the TCON support an LVDS output? */ > + boolneeds_edp_reset; /* a80 edp reset needed for tcon0 access */ > > /* callback to handle tcon muxing options */ > int (*set_mux)(struct sun4i_tcon *, const struct drm_encoder *); This is now a conflict between the drm tree and Linus' tree. -- Cheers, Stephen Rothwell pgpDi2xg3Unhd.pgp Description: OpenPGP digital signature
Re: linux-next: manual merge of the drm-misc tree with Linus' tree
Hi Dave, On Wed, 2 Aug 2017 12:23:06 +1000 Stephen Rothwellwrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > drivers/gpu/drm/nouveau/nv50_display.c > > between commit: > > 4a5431af19bc ("drm/nouveau/kms/nv50: update vblank state in response to > modeset actions") > > from Linus' tree and commit: > > 3c847d6cdadb ("drm/nouveau: Convert nouveau to use new iterator macros, > v2.") > > from the drm-misc tree. > > I fixed it up (I think - see below) and can carry the fix as necessary. > This is now fixed as far as linux-next is concerned, but any non > trivial conflicts should be mentioned to your upstream maintainer when > your tree is submitted for merging. You may also want to consider > cooperating with the maintainer of the conflicting tree to minimise any > particularly complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc drivers/gpu/drm/nouveau/nv50_display.c > index 9d40b2a8be4d,bd1199b67eb4.. > --- a/drivers/gpu/drm/nouveau/nv50_display.c > +++ b/drivers/gpu/drm/nouveau/nv50_display.c > @@@ -3941,8 -3933,6 +3942,8 @@@ nv50_disp_atomic_commit_tail(struct drm > > NV_ATOMIC(drm, "%s: clr %04x (set %04x)\n", crtc->name, > asyh->clr.mask, asyh->set.mask); > - if (crtc_state->active && !asyh->state.active) > ++if (new_crtc_state->active && !asyh->state.active) > +drm_crtc_vblank_off(crtc); > > if (asyh->clr.mask) { > nv50_head_flush_clr(head, asyh, atom->flush_disable); > @@@ -4028,13 -4018,11 +4029,13 @@@ > nv50_head_flush_set(head, asyh); > interlock_core = 1; > } > -} > > -for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { > -if (new_crtc_state->event) > -drm_crtc_vblank_get(crtc); > +if (asyh->state.active) { > - if (!crtc_state->active) > ++if (!new_crtc_state->active) > +drm_crtc_vblank_on(crtc); > +if (asyh->state.event) > +drm_crtc_vblank_get(crtc); > +} > } > > /* Update plane(s). */ > @@@ -4077,18 -4065,16 +4078,18 @@@ > NV_ERROR(drm, "%s: timeout\n", plane->name); > } > > - for_each_crtc_in_state(state, crtc, crtc_state, i) { > - if (crtc->state->event) { > + for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { > + if (new_crtc_state->event) { > unsigned long flags; > /* Get correct count/ts if racing with vblank irq */ > -drm_crtc_accurate_vblank_count(crtc); > +if (crtc->state->active) > +drm_crtc_accurate_vblank_count(crtc); > spin_lock_irqsave(>dev->event_lock, flags); > - drm_crtc_send_vblank_event(crtc, crtc->state->event); > + drm_crtc_send_vblank_event(crtc, new_crtc_state->event); > spin_unlock_irqrestore(>dev->event_lock, flags); > - crtc->state->event = NULL; > + new_crtc_state->event = NULL; > -drm_crtc_vblank_put(crtc); > +if (crtc->state->active) > +drm_crtc_vblank_put(crtc); > } > } > This conflict is now between the drm tree and Linus' tree. -- Cheers, Stephen Rothwell
Re: linux-next: manual merge of the drm-misc tree with Linus' tree
Hi Dave, On Wed, 2 Aug 2017 12:23:06 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > drivers/gpu/drm/nouveau/nv50_display.c > > between commit: > > 4a5431af19bc ("drm/nouveau/kms/nv50: update vblank state in response to > modeset actions") > > from Linus' tree and commit: > > 3c847d6cdadb ("drm/nouveau: Convert nouveau to use new iterator macros, > v2.") > > from the drm-misc tree. > > I fixed it up (I think - see below) and can carry the fix as necessary. > This is now fixed as far as linux-next is concerned, but any non > trivial conflicts should be mentioned to your upstream maintainer when > your tree is submitted for merging. You may also want to consider > cooperating with the maintainer of the conflicting tree to minimise any > particularly complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc drivers/gpu/drm/nouveau/nv50_display.c > index 9d40b2a8be4d,bd1199b67eb4.. > --- a/drivers/gpu/drm/nouveau/nv50_display.c > +++ b/drivers/gpu/drm/nouveau/nv50_display.c > @@@ -3941,8 -3933,6 +3942,8 @@@ nv50_disp_atomic_commit_tail(struct drm > > NV_ATOMIC(drm, "%s: clr %04x (set %04x)\n", crtc->name, > asyh->clr.mask, asyh->set.mask); > - if (crtc_state->active && !asyh->state.active) > ++if (new_crtc_state->active && !asyh->state.active) > +drm_crtc_vblank_off(crtc); > > if (asyh->clr.mask) { > nv50_head_flush_clr(head, asyh, atom->flush_disable); > @@@ -4028,13 -4018,11 +4029,13 @@@ > nv50_head_flush_set(head, asyh); > interlock_core = 1; > } > -} > > -for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { > -if (new_crtc_state->event) > -drm_crtc_vblank_get(crtc); > +if (asyh->state.active) { > - if (!crtc_state->active) > ++if (!new_crtc_state->active) > +drm_crtc_vblank_on(crtc); > +if (asyh->state.event) > +drm_crtc_vblank_get(crtc); > +} > } > > /* Update plane(s). */ > @@@ -4077,18 -4065,16 +4078,18 @@@ > NV_ERROR(drm, "%s: timeout\n", plane->name); > } > > - for_each_crtc_in_state(state, crtc, crtc_state, i) { > - if (crtc->state->event) { > + for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { > + if (new_crtc_state->event) { > unsigned long flags; > /* Get correct count/ts if racing with vblank irq */ > -drm_crtc_accurate_vblank_count(crtc); > +if (crtc->state->active) > +drm_crtc_accurate_vblank_count(crtc); > spin_lock_irqsave(>dev->event_lock, flags); > - drm_crtc_send_vblank_event(crtc, crtc->state->event); > + drm_crtc_send_vblank_event(crtc, new_crtc_state->event); > spin_unlock_irqrestore(>dev->event_lock, flags); > - crtc->state->event = NULL; > + new_crtc_state->event = NULL; > -drm_crtc_vblank_put(crtc); > +if (crtc->state->active) > +drm_crtc_vblank_put(crtc); > } > } > This conflict is now between the drm tree and Linus' tree. -- Cheers, Stephen Rothwell
Re: linux-next: manual merge of the drm-misc tree with Linus' tree
On 12/14/2015 02:12 AM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the drm-misc tree got conflicts in: > > drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c > drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c > drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c > > between commit: > > 8fbf9d92a7bc ("drm/vmwgfx: Implement the cursor_set2 callback v2") > > from Linus' tree and commit: > > f80de66eca65 ("drm/vmwgfx: Drop dummy save/restore hooks") > > from the drm-misc tree. > > I fixed it up (see below) and can carry the fix as necessary (no action > is required). > FWIW, the fix looks correct to me. /Thomas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: linux-next: manual merge of the drm-misc tree with Linus' tree
On 12/14/2015 02:12 AM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the drm-misc tree got conflicts in: > > drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c > drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c > drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c > > between commit: > > 8fbf9d92a7bc ("drm/vmwgfx: Implement the cursor_set2 callback v2") > > from Linus' tree and commit: > > f80de66eca65 ("drm/vmwgfx: Drop dummy save/restore hooks") > > from the drm-misc tree. > > I fixed it up (see below) and can carry the fix as necessary (no action > is required). > FWIW, the fix looks correct to me. /Thomas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/