Commit Graph

7 Commits

Author SHA1 Message Date
Luke Diamand
154319b68a fix vcos_verify() warning: replace _verify() with _assert()
vcos_verify() returns an rvalue which the compiler expects to be
used and warns about.

In this usage of vcos_verify() it looks like vcos_assert()
would be better, since this code path should never be taken.
2016-09-29 20:16:34 +01:00
popcornmix
4364cc3c31 khrn_client_platform_linux: Avoid uninitialised warnings 2016-06-27 17:46:40 +01:00
Lorenzo Stoakes
1cd52053c7 khronos: Use vchiq_get_client_id to determine global PID. (#315)
PID namespacing breaks VCHIQ as it uses PIDs as unique identifiers for VCHIQ
services, meaning messages sent from userland will contain a different ID than
the one expected by the GPU.

This patch addresses the problem uses the existing GET_CLIENT_ID ioctl to
retrieve the global PID as seen by the kernel rather than using the process's
reported PID.
2016-06-27 13:36:58 +01:00
popcornmix
481fcfbcf8 Fix some typos found by codespell
See: https://github.com/raspberrypi/userland/pull/299
2016-04-06 19:47:08 +01:00
Dom Cobley
4cb05ffcea Always use platform_tls_get_check to avoid corruption issue with eglGetDisplay 2013-04-23 01:11:38 +01:00
popcornmix
ef62d33406 Fix undefined reference 2012-10-28 20:48:45 +00:00
popcornmix
729c0e6562 Initial import of userland code 2012-10-24 11:42:57 +01:00