drm/msm: validate display and event threads
authorJeykumar Sankaran <jsanka@codeaurora.org>
Wed, 10 Oct 2018 21:11:16 +0000 (14:11 -0700)
committerSean Paul <seanpaul@chromium.org>
Mon, 3 Dec 2018 13:46:07 +0000 (08:46 -0500)
commit7f9743abaa79d3491fee7a0446461b0fdd2aeaa5
tree2c570bd9ed5820b540cade4da7c9d71a27ebcf82
parent3b712e43e3876b42b38321ecf790a1f5fe59c834
drm/msm: validate display and event threads

While creating display and event threads per crtc, validate
them before setting their priorities.

changes in v2:
- use dev_warn (Abhinav Kumar)
changes in v3:
- fix compilation error
changes in v4:
- Remove Change-Id (Sean Paul)
- Keep logging within 80 char limit (Sean Paul)

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/msm/msm_drv.c