]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Take single rpm refcount on behalf of all submits
authorAkhil P Oommen <quic_akhilpo@quicinc.com>
Thu, 18 Aug 2022 20:22:10 +0000 (01:52 +0530)
committerRob Clark <robdclark@chromium.org>
Sun, 28 Aug 2022 16:29:27 +0000 (09:29 -0700)
commitcd340bc37d424955a9ad450f3bd1c8313b5334e4
tree05222ad5cbf6f6f1d885a4053cd4e6bf27e3c0c3
parent6b0a1d423faf4d2b26df2fd0c91ff467592c4b76
drm/msm: Take single rpm refcount on behalf of all submits

Instead of separate refcount for each submit, take single rpm refcount
on behalf of all the submits. This makes it easier to drop the rpm
refcount during recovery in an upcoming patch.

Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/498392/
Link: https://lore.kernel.org/r/20220819015030.v5.2.Ifee853f6d8217a0fdacc459092bbc9e81a8a7ac7@changeid
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_gpu.c