From: Tobias Jakobi Date: Wed, 23 Jul 2014 14:57:13 +0000 (+0200) Subject: drm/exynos: g2d: let exynos_g2d_get_ver_ioctl fail X-Git-Tag: cleanup-for-v3.18~84^2~23^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef7ce055a9e00f6376416466b996515a27b7cb31;p=pandora-kernel.git drm/exynos: g2d: let exynos_g2d_get_ver_ioctl fail Currently the DRM_IOCTL_EXYNOS_G2D_GET_VER ioctl always succeeds, even if no G2D support is available. Let the ioctl fail when this is the case, so that userspace can accurately probe for G2D support. This also fixes the exynos tests in libdrm. There 'g2d_init' doesn't fail when G2D is absent, leading to a segfault later. Signed-off-by: Tobias Jakobi Signed-off-by: INki Dae --- Reading git-diff-tree failed