diff options
author | Rob Clark <robdclark@chromium.org> | 2022-08-21 08:54:35 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-08-28 09:28:28 -0700 |
commit | 80059b87a3033543e3cb6f9abcd513e13a3f9f06 (patch) | |
tree | 9e09ca22cb7a002d615d4d5823fb301978e99df0 /drivers/gpu/drm/msm/adreno/a4xx_gpu.c | |
parent | 70bccecfcaf6c506191aed487f3cf2695fc3008c (diff) | |
download | linux-stable-80059b87a3033543e3cb6f9abcd513e13a3f9f06.tar.gz linux-stable-80059b87a3033543e3cb6f9abcd513e13a3f9f06.tar.bz2 linux-stable-80059b87a3033543e3cb6f9abcd513e13a3f9f06.zip |
drm/msm: De-open-code some CP_EVENT_WRITE
Replace some open coding to improve readability.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/499272/
Link: https://lore.kernel.org/r/20220821155441.1092134-1-robdclark@gmail.com
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a4xx_gpu.c')
-rw-r--r-- | drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a4xx_gpu.c b/drivers/gpu/drm/msm/adreno/a4xx_gpu.c index 0c6b2a6d0b4c..7cb8d9849c07 100644 --- a/drivers/gpu/drm/msm/adreno/a4xx_gpu.c +++ b/drivers/gpu/drm/msm/adreno/a4xx_gpu.c @@ -62,7 +62,7 @@ static void a4xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) /* BIT(31) of CACHE_FLUSH_TS triggers CACHE_FLUSH_TS IRQ from GPU */ OUT_PKT3(ring, CP_EVENT_WRITE, 3); - OUT_RING(ring, CACHE_FLUSH_TS | BIT(31)); + OUT_RING(ring, CACHE_FLUSH_TS | CP_EVENT_WRITE_0_IRQ); OUT_RING(ring, rbmemptr(ring, fence)); OUT_RING(ring, submit->seqno); |