We have drm_crtc_vblank_waitqueue() to get the wait_queue_head_t pointer for a vblank. Use it instead of poking at dev->vblank[] directly. Due to the macro maze of wait_event_timeout() that uses the address-of operator on the argument, we have to pass it in with the indirection operator. Cc: Rob Clark <robin.clark@oss.qualcomm.com> Cc: Dmitry Baryshkov <lumag@kernel.org> Cc: Abhinav Kumar <abhinav.kumar@linux.dev> Cc: Jessica Zhang <jesszhan0024@gmail.com> Cc: Sean Paul <sean@poorly.run> Cc: Marijn Suijten <marijn.suijten@somainline.org> Cc: linux-arm-msm@vger.kernel.org Cc: freedreno@lists.freedesktop.org Acked-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://patch.msgid.link/5917fd537f4a775a1c135a68f294df3917980943.1762513240.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com> |
||
|---|---|---|
| .. | ||
| adreno | ||
| disp | ||
| dp | ||
| dsi | ||
| hdmi | ||
| registers | ||
| .gitignore | ||
| Kconfig | ||
| Makefile | ||
| msm_atomic.c | ||
| msm_atomic_trace.h | ||
| msm_atomic_tracepoints.c | ||
| msm_debugfs.c | ||
| msm_debugfs.h | ||
| msm_drv.c | ||
| msm_drv.h | ||
| msm_dsc_helper.h | ||
| msm_fb.c | ||
| msm_fbdev.c | ||
| msm_fence.c | ||
| msm_fence.h | ||
| msm_gem.c | ||
| msm_gem.h | ||
| msm_gem_prime.c | ||
| msm_gem_shrinker.c | ||
| msm_gem_submit.c | ||
| msm_gem_vma.c | ||
| msm_gpu.c | ||
| msm_gpu.h | ||
| msm_gpu_devfreq.c | ||
| msm_gpu_trace.h | ||
| msm_gpu_tracepoints.c | ||
| msm_io_utils.c | ||
| msm_iommu.c | ||
| msm_kms.c | ||
| msm_kms.h | ||
| msm_mdss.c | ||
| msm_mmu.h | ||
| msm_perf.c | ||
| msm_rd.c | ||
| msm_ringbuffer.c | ||
| msm_ringbuffer.h | ||
| msm_submitqueue.c | ||
| msm_syncobj.c | ||
| msm_syncobj.h | ||
| NOTES | ||