drm/msm/dpu: drop useless check from dpu_encoder_phys_cmd_te_rd_ptr_irq()
The dpu_encoder_phys_cmd_te_rd_ptr_irq() function uses neither hw_intf nor hw_pp data, so we can drop the corresponding check. Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Patchwork: https://patchwork.freedesktop.org/patch/555544/ Link: https://lore.kernel.org/r/20230904020454.2945667-8-dmitry.baryshkov@linaro.org
This commit is contained in:
parent
e48954ef48
commit
cae719b21d
@ -110,14 +110,6 @@ static void dpu_encoder_phys_cmd_te_rd_ptr_irq(void *arg)
|
||||
struct dpu_encoder_phys *phys_enc = arg;
|
||||
struct dpu_encoder_phys_cmd *cmd_enc;
|
||||
|
||||
if (phys_enc->has_intf_te) {
|
||||
if (!phys_enc->hw_intf)
|
||||
return;
|
||||
} else {
|
||||
if (!phys_enc->hw_pp)
|
||||
return;
|
||||
}
|
||||
|
||||
DPU_ATRACE_BEGIN("rd_ptr_irq");
|
||||
cmd_enc = to_dpu_encoder_phys_cmd(phys_enc);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user