]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: update the qos remap only if the client type changes
authorAbhinav Kumar <abhinavk@codeaurora.org>
Tue, 1 Dec 2020 23:38:55 +0000 (15:38 -0800)
committerRob Clark <robdclark@chromium.org>
Thu, 3 Dec 2020 16:49:24 +0000 (08:49 -0800)
commit646589b9561c6e98716d14fd94c2ef6e31387b80
treec7d6ecf9dc35509dc4880f80bb7bba9c899950f7
parentdcc0f4669d90fac2b869a2fbbbff71e6a25405df
drm/msm/dpu: update the qos remap only if the client type changes

Update the qos remap only if the client type changes for the plane.
This will avoid unnecessary register programming and also avoid log
spam from the dpu_vbif_set_qos_remap() function.

changes in v2:
 - get rid of the dirty flag and simplify the logic to call
   _dpu_plane_set_qos_remap()

Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h