drm/msm/dpu: update bandwidth threshold check
authorKrishna Manikandan <mkrishn@codeaurora.org>
Mon, 4 May 2020 13:31:03 +0000 (19:01 +0530)
committerRob Clark <robdclark@chromium.org>
Mon, 18 May 2020 16:26:32 +0000 (09:26 -0700)
commit71dc6c08e4c53d37e3756502b1793f440f4d4030
tree08f7734a3803ed4edfe0df93533fded7663e1fbc
parent04d9044f6c577948609c03b4e33b8fbc8b87c4b1
drm/msm/dpu: update bandwidth threshold check

Maximum allowed bandwidth  has no dependency on the type
of panel used. Hence, cleanup the code to use max_bw_high
as the threshold value for bandwidth checks.

Update the maximum allowed bandwidth as 6.8Gbps for
SC7180 target.

Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c