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)
commit854f6f1c653ba7d38acc3fc9dabb42e2db5837c1
treec7d6ecf9dc35509dc4880f80bb7bba9c899950f7
parent849652c1ab9704b7f7f58704a71cf0310ae58f42
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