diff options
author | Abhinav Kumar <quic_abhinavk@quicinc.com> | 2023-09-11 15:16:26 -0700 |
---|---|---|
committer | Abhinav Kumar <quic_abhinavk@quicinc.com> | 2023-10-05 10:18:10 -0700 |
commit | 10f20628c9b8e924b8046e63b36b2cea4d2c85e4 (patch) | |
tree | f025c780ba5ecaf715897572f89d6a4d45ed83c5 /drivers/media/v4l2-core/v4l2-subdev.c | |
parent | eba8c99a0fc45da1c8d5b5f5bd1dc2e79229a767 (diff) |
drm/msm/dpu: fail dpu_plane_atomic_check() based on mdp clk limits
Currently, dpu_plane_atomic_check() does not check whether the
plane can process the image without exceeding the per chipset
limits for MDP clock. This leads to underflow issues because the
SSPP is not able to complete the processing for the data rate of
the display.
Fail the dpu_plane_atomic_check() if the SSPP cannot process the
image without exceeding the MDP clock limits.
changes in v2:
- use crtc_state's adjusted_mode instead of mode
Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support")
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/556819/
Link: https://lore.kernel.org/r/20230911221627.9569-1-quic_abhinavk@quicinc.com
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions