Message ID | 20180904163609.10171-3-jagan@amarulasolutions.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v4,1/4] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I | expand |
On Tue, Sep 04, 2018 at 10:06:08PM +0530, Jagan Teki wrote: > Allwinner SoC like SUN8I and SUN50I are now using DE2 Mixer > so enable them as default. > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > --- > Changes for v4, v3: > - none > Changes for v2: > - Enable for SUN8I > > drivers/gpu/drm/sun4i/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig > index c2c042287c19..cfa8b96273fb 100644 > --- a/drivers/gpu/drm/sun4i/Kconfig > +++ b/drivers/gpu/drm/sun4i/Kconfig > @@ -61,7 +61,7 @@ config DRM_SUN8I_DW_HDMI > > config DRM_SUN8I_MIXER > tristate "Support for Allwinner Display Engine 2.0 Mixer" > - default MACH_SUN8I > + default MACH_SUN8I || (ARM64 && ARCH_SUNXI) I'm not really sure we should put it as a default. We should just enable it in the defconfig. Maxime > help > Choose this option if you have an Allwinner SoC with the > Allwinner Display Engine 2.0, which has a mixer to do some > -- > 2.18.0.321.gffc6fa0e3 >
On Wed, Sep 5, 2018 at 12:37 PM, Maxime Ripard <maxime.ripard@bootlin.com> wrote: > On Tue, Sep 04, 2018 at 10:06:08PM +0530, Jagan Teki wrote: >> Allwinner SoC like SUN8I and SUN50I are now using DE2 Mixer >> so enable them as default. >> >> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> >> --- >> Changes for v4, v3: >> - none >> Changes for v2: >> - Enable for SUN8I >> >> drivers/gpu/drm/sun4i/Kconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig >> index c2c042287c19..cfa8b96273fb 100644 >> --- a/drivers/gpu/drm/sun4i/Kconfig >> +++ b/drivers/gpu/drm/sun4i/Kconfig >> @@ -61,7 +61,7 @@ config DRM_SUN8I_DW_HDMI >> >> config DRM_SUN8I_MIXER >> tristate "Support for Allwinner Display Engine 2.0 Mixer" >> - default MACH_SUN8I >> + default MACH_SUN8I || (ARM64 && ARCH_SUNXI) > > I'm not really sure we should put it as a default. We should just > enable it in the defconfig. What would be the difference in both cases it would be build as module since DRM_SUN4I=m for ARM64
On Wed, Sep 05, 2018 at 01:51:25PM +0530, Jagan Teki wrote: > On Wed, Sep 5, 2018 at 12:37 PM, Maxime Ripard > <maxime.ripard@bootlin.com> wrote: > > On Tue, Sep 04, 2018 at 10:06:08PM +0530, Jagan Teki wrote: > >> Allwinner SoC like SUN8I and SUN50I are now using DE2 Mixer > >> so enable them as default. > >> > >> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > >> --- > >> Changes for v4, v3: > >> - none > >> Changes for v2: > >> - Enable for SUN8I > >> > >> drivers/gpu/drm/sun4i/Kconfig | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig > >> index c2c042287c19..cfa8b96273fb 100644 > >> --- a/drivers/gpu/drm/sun4i/Kconfig > >> +++ b/drivers/gpu/drm/sun4i/Kconfig > >> @@ -61,7 +61,7 @@ config DRM_SUN8I_DW_HDMI > >> > >> config DRM_SUN8I_MIXER > >> tristate "Support for Allwinner Display Engine 2.0 Mixer" > >> - default MACH_SUN8I > >> + default MACH_SUN8I || (ARM64 && ARCH_SUNXI) > > > > I'm not really sure we should put it as a default. We should just > > enable it in the defconfig. > > What would be the difference in both cases it would be build as module > since DRM_SUN4I=m for ARM64 We wouldn't force it down the throat to every user by default, even though they have no interest in that driver being compiled into their kernel. Maxime
diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig index c2c042287c19..cfa8b96273fb 100644 --- a/drivers/gpu/drm/sun4i/Kconfig +++ b/drivers/gpu/drm/sun4i/Kconfig @@ -61,7 +61,7 @@ config DRM_SUN8I_DW_HDMI config DRM_SUN8I_MIXER tristate "Support for Allwinner Display Engine 2.0 Mixer" - default MACH_SUN8I + default MACH_SUN8I || (ARM64 && ARCH_SUNXI) help Choose this option if you have an Allwinner SoC with the Allwinner Display Engine 2.0, which has a mixer to do some
Allwinner SoC like SUN8I and SUN50I are now using DE2 Mixer so enable them as default. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- Changes for v4, v3: - none Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)