Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

gpu: ipu-v3: Remove unused ipu_idmac_channel_busy

The last use of ipu_idmac_channel_busy() was removed in 2017 by
commit eb8c88808c83 ("drm/imx: add deferred plane disabling")

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241226022752.219399-4-linux@treblig.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

authored by

Dr. David Alan Gilbert and committed by
Dmitry Baryshkov
4f9c64e9 a52ba18c

-8
-6
drivers/gpu/ipu-v3/ipu-common.c
··· 484 484 } 485 485 EXPORT_SYMBOL_GPL(ipu_idmac_enable_channel); 486 486 487 - bool ipu_idmac_channel_busy(struct ipu_soc *ipu, unsigned int chno) 488 - { 489 - return (ipu_idmac_read(ipu, IDMAC_CHA_BUSY(chno)) & idma_mask(chno)); 490 - } 491 - EXPORT_SYMBOL_GPL(ipu_idmac_channel_busy); 492 - 493 487 int ipu_idmac_wait_busy(struct ipuv3_channel *channel, int ms) 494 488 { 495 489 struct ipu_soc *ipu = channel->ipu;
-2
drivers/gpu/ipu-v3/ipu-prv.h
··· 216 216 int ipu_module_enable(struct ipu_soc *ipu, u32 mask); 217 217 int ipu_module_disable(struct ipu_soc *ipu, u32 mask); 218 218 219 - bool ipu_idmac_channel_busy(struct ipu_soc *ipu, unsigned int chno); 220 - 221 219 int ipu_csi_init(struct ipu_soc *ipu, struct device *dev, int id, 222 220 unsigned long base, u32 module, struct clk *clk_ipu); 223 221 void ipu_csi_exit(struct ipu_soc *ipu, int id);