Skip to content

Commit 4f9c64e

Browse files
Dr. David Alan Gilbertlumag
authored andcommitted
gpu: ipu-v3: Remove unused ipu_idmac_channel_busy
The last use of ipu_idmac_channel_busy() was removed in 2017 by commit eb8c888 ("drm/imx: add deferred plane disabling") Remove it. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent a52ba18 commit 4f9c64e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

drivers/gpu/ipu-v3/ipu-common.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -484,12 +484,6 @@ int ipu_idmac_enable_channel(struct ipuv3_channel *channel)
484484
}
485485
EXPORT_SYMBOL_GPL(ipu_idmac_enable_channel);
486486

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-
493487
int ipu_idmac_wait_busy(struct ipuv3_channel *channel, int ms)
494488
{
495489
struct ipu_soc *ipu = channel->ipu;

drivers/gpu/ipu-v3/ipu-prv.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,6 @@ void ipu_srm_dp_update(struct ipu_soc *ipu, bool sync);
216216
int ipu_module_enable(struct ipu_soc *ipu, u32 mask);
217217
int ipu_module_disable(struct ipu_soc *ipu, u32 mask);
218218

219-
bool ipu_idmac_channel_busy(struct ipu_soc *ipu, unsigned int chno);
220-
221219
int ipu_csi_init(struct ipu_soc *ipu, struct device *dev, int id,
222220
unsigned long base, u32 module, struct clk *clk_ipu);
223221
void ipu_csi_exit(struct ipu_soc *ipu, int id);

0 commit comments

Comments
 (0)