drm: improve check for authentication.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 15 Jul 2013 08:45:16 +0000 (10:45 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 15 Jul 2013 08:52:12 +0000 (10:52 +0200)
commitd2dbc3f69c69e5933e7b3da429c0fb0cae5b98b0
tree4f79b244a612d7bc52f21abf494ee13d0c3b1096
parentb927627beb3a3fbc8d2aa238ee47d8d0727a4a33
drm: improve check for authentication.

On Linux systems, the drmGetClient() function would return the thread ID
instead of the actual process ID.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
va/drm/va_drm_auth.c