OSDN Git Service

drm/msm: Add API support for getting GPU hang timeout
authorSharat Masetty <smasetty@codeaurora.org>
Mon, 13 Nov 2017 13:18:22 +0000 (18:48 +0530)
committerSharat Masetty <smasetty@codeaurora.org>
Tue, 28 Nov 2017 11:53:13 +0000 (17:23 +0530)
commit1ff6f9bca64917b406a7ea2b2dccfc3c1da430fb
treeb6a252a6601738beaabedbb4d7365939773f9c61
parentce488494ce823d2f5bff75c91726a95543bc7c29
drm/msm: Add API support for getting GPU hang timeout

Userspace needs to know the GPU timeout value to support Khronos robust
GPU timeout extension. The timeout value is returned to the user in
millisecond resolution.

Change-Id: Iba2ff43fce6d21da240356b392afa7a6e7a618ad
Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
include/uapi/drm/msm_drm.h