drm/rockchip: drv: remove unused commit_lock

struct mutex commit_lock is only used by kernel 4.19,
use ovl_lock now.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Id7eb81fac31026956eeb9b8799b7d8281e4de4c2
This commit is contained in:
Sandy Huang
2025-02-22 15:48:10 +08:00
committed by Tao Huang
parent b0d79ebe70
commit d02a383e7c
2 changed files with 0 additions and 3 deletions

View File

@@ -1919,8 +1919,6 @@ static int rockchip_drm_bind(struct device *dev)
drm_dev->dev_private = private;
mutex_init(&private->commit_lock);
private->hdmi_pll.pll = devm_clk_get_optional(dev, "hdmi-tmds-pll");
if (PTR_ERR(private->hdmi_pll.pll) == -EPROBE_DEFER) {
ret = -EPROBE_DEFER;

View File

@@ -561,7 +561,6 @@ struct rockchip_drm_private {
struct gen_pool *secure_buffer_pool;
struct mutex mm_lock;
struct drm_mm mm;
struct mutex commit_lock;
/* private crtc prop */
struct drm_property *soc_id_prop;