drm/msm/a5xx: Skip hardware preemption init if no preemption
authorSharat Masetty <smasetty@codeaurora.org>
Fri, 14 Sep 2018 08:38:55 +0000 (14:08 +0530)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:54 +0000 (20:24 -0400)
commitfc6510ac4900db98851cabfd44a4a510b2d22db3
treeb8c3ded0deda51c15337288d5b2ba9d3b347b18e
parentdfdb3be43ef1195c491e6c3760b922acb52e3575
drm/msm/a5xx: Skip hardware preemption init if no preemption

In the case where preemption is not enabled, this patch simply skips
preemption related initialization in hardware init sequence.

Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a5xx_preempt.c