]> 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)
commit789cdd65823f70cb1fceb52e1794b1db9e7a255c
treec7d6ecf9dc35509dc4880f80bb7bba9c899950f7
parent9d7d4cfdca349a7c7277c9cc483ec2c564509afd
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