mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drm/vc4: v3d: called object '0u' is not a function (next-20160104)
@ 2016-01-04 21:10 Stefan Wahren
  2016-01-05 19:09 ` Eric Anholt
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Wahren @ 2016-01-04 21:10 UTC (permalink / raw)
  To: Eric Anholt; +Cc: David Airlie, dri-devel, linux-kernel

Hi Eric,

i tried to build Linux next-20160104, but vc4 failed with the following
messages:

...
  CC      drivers/gpu/drm/vc4/vc4_v3d.o
drivers/gpu/drm/vc4/vc4_v3d.c: In function 'vc4_v3d_set_power':
drivers/gpu/drm/vc4/vc4_v3d.c:157:29: error: called object '0u' is not a
function
drivers/gpu/drm/vc4/vc4_v3d.c:159:27: error: called object '0u' is not a
function
drivers/gpu/drm/vc4/vc4_v3d.c:160:1: warning: control reaches end of non-void
function [-Wreturn-type]
make[4]: *** [drivers/gpu/drm/vc4/vc4_v3d.o] Error 1
make[3]: *** [drivers/gpu/drm/vc4] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2

Here the relevant settings:

CONFIG_DRM_VC4=y
CONFIG_PM_SLEEP=n

It looks like pm_generic_poweroff and pm_generic_resume aren't used as intended.
They could be NULL.

Regards
Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: drm/vc4: v3d: called object '0u' is not a function (next-20160104)
  2016-01-04 21:10 drm/vc4: v3d: called object '0u' is not a function (next-20160104) Stefan Wahren
@ 2016-01-05 19:09 ` Eric Anholt
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Anholt @ 2016-01-05 19:09 UTC (permalink / raw)
  To: Stefan Wahren; +Cc: David Airlie, dri-devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]

Stefan Wahren <stefan.wahren@i2se.com> writes:

> Hi Eric,
>
> i tried to build Linux next-20160104, but vc4 failed with the following
> messages:
>
> ...
>   CC      drivers/gpu/drm/vc4/vc4_v3d.o
> drivers/gpu/drm/vc4/vc4_v3d.c: In function 'vc4_v3d_set_power':
> drivers/gpu/drm/vc4/vc4_v3d.c:157:29: error: called object '0u' is not a
> function
> drivers/gpu/drm/vc4/vc4_v3d.c:159:27: error: called object '0u' is not a
> function
> drivers/gpu/drm/vc4/vc4_v3d.c:160:1: warning: control reaches end of non-void
> function [-Wreturn-type]
> make[4]: *** [drivers/gpu/drm/vc4/vc4_v3d.o] Error 1
> make[3]: *** [drivers/gpu/drm/vc4] Error 2
> make[2]: *** [drivers/gpu/drm] Error 2
> make[1]: *** [drivers/gpu] Error 2
> make: *** [drivers] Error 2
>
> Here the relevant settings:
>
> CONFIG_DRM_VC4=y
> CONFIG_PM_SLEEP=n
>
> It looks like pm_generic_poweroff and pm_generic_resume aren't used as intended.
> They could be NULL.

http://lists.freedesktop.org/archives/dri-devel/2015-December/097509.html

Sadly, the genpd stuff didn't actually work for reset like I thought it
would.  That means reset is broken upstream, for now.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-05 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-04 21:10 drm/vc4: v3d: called object '0u' is not a function (next-20160104) Stefan Wahren
2016-01-05 19:09 ` Eric Anholt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®