* [PATCH] drm/p[111: add CONFIG_OF dependency
@ 2018-02-22 16:24 ` Arnd Bergmann
0 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2018-02-22 16:24 UTC (permalink / raw)
To: Eric Anholt
Cc: Arnd Bergmann, David Airlie, Linus Walleij, Daniel Vetter,
Stephen Boyd, Tom Cooksey, dri-devel, linux-kernel
We cannot select a symbol without meeting its other dependencies:
warning: (DRM_PL111) selects DRM_DUMB_VGA_DAC which has unmet direct dependencies (HAS_IOMEM && DRM && DRM_BRIDGE && OF)
drivers/gpu/drm/bridge/dumb-vga-dac.c: In function 'dumb_vga_probe':
drivers/gpu/drm/bridge/dumb-vga-dac.c:207:13: error: 'struct drm_bridge' has no member named 'of_node'
vga->bridge.of_node = pdev->dev.of_node;
^
Here it seems reasonable to depend on CONFIG_OF, as all platforms
using this driver already require that anyway.
Fixes: 49f81d80ab84 ("drm/pl111: Support handling bridge timings")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/gpu/drm/pl111/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/pl111/Kconfig b/drivers/gpu/drm/pl111/Kconfig
index 82cb3e60ddc8..776448e8d4ee 100644
--- a/drivers/gpu/drm/pl111/Kconfig
+++ b/drivers/gpu/drm/pl111/Kconfig
@@ -3,6 +3,7 @@ config DRM_PL111
depends on DRM
depends on ARM || ARM64 || COMPILE_TEST
depends on COMMON_CLK
+ depends on OF
select DRM_KMS_HELPER
select DRM_KMS_CMA_HELPER
select DRM_GEM_CMA_HELPER
--
2.9.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] drm/p[111: add CONFIG_OF dependency
@ 2018-02-22 16:24 ` Arnd Bergmann
0 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2018-02-22 16:24 UTC (permalink / raw)
To: Eric Anholt
Cc: Arnd Bergmann, David Airlie, Daniel Vetter, Stephen Boyd,
linux-kernel, dri-devel
We cannot select a symbol without meeting its other dependencies:
warning: (DRM_PL111) selects DRM_DUMB_VGA_DAC which has unmet direct dependencies (HAS_IOMEM && DRM && DRM_BRIDGE && OF)
drivers/gpu/drm/bridge/dumb-vga-dac.c: In function 'dumb_vga_probe':
drivers/gpu/drm/bridge/dumb-vga-dac.c:207:13: error: 'struct drm_bridge' has no member named 'of_node'
vga->bridge.of_node = pdev->dev.of_node;
^
Here it seems reasonable to depend on CONFIG_OF, as all platforms
using this driver already require that anyway.
Fixes: 49f81d80ab84 ("drm/pl111: Support handling bridge timings")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/gpu/drm/pl111/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/pl111/Kconfig b/drivers/gpu/drm/pl111/Kconfig
index 82cb3e60ddc8..776448e8d4ee 100644
--- a/drivers/gpu/drm/pl111/Kconfig
+++ b/drivers/gpu/drm/pl111/Kconfig
@@ -3,6 +3,7 @@ config DRM_PL111
depends on DRM
depends on ARM || ARM64 || COMPILE_TEST
depends on COMMON_CLK
+ depends on OF
select DRM_KMS_HELPER
select DRM_KMS_CMA_HELPER
select DRM_GEM_CMA_HELPER
--
2.9.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/p[111: add CONFIG_OF dependency
2018-02-22 16:24 ` Arnd Bergmann
@ 2018-02-22 20:08 ` Eric Anholt
-1 siblings, 0 replies; 6+ messages in thread
From: Eric Anholt @ 2018-02-22 20:08 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Arnd Bergmann, David Airlie, Linus Walleij, Daniel Vetter,
Stephen Boyd, Tom Cooksey, dri-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
Arnd Bergmann <arnd@arndb.de> writes:
> We cannot select a symbol without meeting its other dependencies:
>
> warning: (DRM_PL111) selects DRM_DUMB_VGA_DAC which has unmet direct dependencies (HAS_IOMEM && DRM && DRM_BRIDGE && OF)
> drivers/gpu/drm/bridge/dumb-vga-dac.c: In function 'dumb_vga_probe':
> drivers/gpu/drm/bridge/dumb-vga-dac.c:207:13: error: 'struct drm_bridge' has no member named 'of_node'
> vga->bridge.of_node = pdev->dev.of_node;
> ^
>
> Here it seems reasonable to depend on CONFIG_OF, as all platforms
> using this driver already require that anyway.
Looks like we'll be going with
https://patchwork.freedesktop.org/patch/205580/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/p[111: add CONFIG_OF dependency
@ 2018-02-22 20:08 ` Eric Anholt
0 siblings, 0 replies; 6+ messages in thread
From: Eric Anholt @ 2018-02-22 20:08 UTC (permalink / raw)
Cc: Arnd Bergmann, David Airlie, Daniel Vetter, Stephen Boyd,
linux-kernel, dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 670 bytes --]
Arnd Bergmann <arnd@arndb.de> writes:
> We cannot select a symbol without meeting its other dependencies:
>
> warning: (DRM_PL111) selects DRM_DUMB_VGA_DAC which has unmet direct dependencies (HAS_IOMEM && DRM && DRM_BRIDGE && OF)
> drivers/gpu/drm/bridge/dumb-vga-dac.c: In function 'dumb_vga_probe':
> drivers/gpu/drm/bridge/dumb-vga-dac.c:207:13: error: 'struct drm_bridge' has no member named 'of_node'
> vga->bridge.of_node = pdev->dev.of_node;
> ^
>
> Here it seems reasonable to depend on CONFIG_OF, as all platforms
> using this driver already require that anyway.
Looks like we'll be going with
https://patchwork.freedesktop.org/patch/205580/
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/p[111: add CONFIG_OF dependency
2018-02-22 20:08 ` Eric Anholt
@ 2018-02-22 22:54 ` Arnd Bergmann
-1 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2018-02-22 22:54 UTC (permalink / raw)
To: Eric Anholt
Cc: David Airlie, Linus Walleij, Daniel Vetter, Stephen Boyd,
Tom Cooksey, dri-devel, Linux Kernel Mailing List
On Thu, Feb 22, 2018 at 9:08 PM, Eric Anholt <eric@anholt.net> wrote:
> Arnd Bergmann <arnd@arndb.de> writes:
>
>> We cannot select a symbol without meeting its other dependencies:
>>
>> warning: (DRM_PL111) selects DRM_DUMB_VGA_DAC which has unmet direct dependencies (HAS_IOMEM && DRM && DRM_BRIDGE && OF)
>> drivers/gpu/drm/bridge/dumb-vga-dac.c: In function 'dumb_vga_probe':
>> drivers/gpu/drm/bridge/dumb-vga-dac.c:207:13: error: 'struct drm_bridge' has no member named 'of_node'
>> vga->bridge.of_node = pdev->dev.of_node;
>> ^
>>
>> Here it seems reasonable to depend on CONFIG_OF, as all platforms
>> using this driver already require that anyway.
>
> Looks like we'll be going with
>
> https://patchwork.freedesktop.org/patch/205580/
Ok, even better!
Arnd
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/p[111: add CONFIG_OF dependency
@ 2018-02-22 22:54 ` Arnd Bergmann
0 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2018-02-22 22:54 UTC (permalink / raw)
To: Eric Anholt
Cc: David Airlie, Daniel Vetter, Stephen Boyd,
Linux Kernel Mailing List, dri-devel
On Thu, Feb 22, 2018 at 9:08 PM, Eric Anholt <eric@anholt.net> wrote:
> Arnd Bergmann <arnd@arndb.de> writes:
>
>> We cannot select a symbol without meeting its other dependencies:
>>
>> warning: (DRM_PL111) selects DRM_DUMB_VGA_DAC which has unmet direct dependencies (HAS_IOMEM && DRM && DRM_BRIDGE && OF)
>> drivers/gpu/drm/bridge/dumb-vga-dac.c: In function 'dumb_vga_probe':
>> drivers/gpu/drm/bridge/dumb-vga-dac.c:207:13: error: 'struct drm_bridge' has no member named 'of_node'
>> vga->bridge.of_node = pdev->dev.of_node;
>> ^
>>
>> Here it seems reasonable to depend on CONFIG_OF, as all platforms
>> using this driver already require that anyway.
>
> Looks like we'll be going with
>
> https://patchwork.freedesktop.org/patch/205580/
Ok, even better!
Arnd
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-02-22 22:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-22 16:24 [PATCH] drm/p[111: add CONFIG_OF dependency Arnd Bergmann
2018-02-22 16:24 ` Arnd Bergmann
2018-02-22 20:08 ` Eric Anholt
2018-02-22 20:08 ` Eric Anholt
2018-02-22 22:54 ` Arnd Bergmann
2018-02-22 22:54 ` Arnd Bergmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.