drm/rockchip: vop: fix line_bw_mbyte init value error

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I62b374ebdf9f468fca50ee9662c487adc9d1fc2f
This commit is contained in:
Sandy Huang
2024-10-11 16:15:31 +08:00
committed by Tao Huang
parent 0b1e501654
commit 11a8c1d021

View File

@@ -3094,7 +3094,7 @@ static size_t vop_crtc_bandwidth(struct drm_crtc *crtc,
sort(pbandwidth, cnt, sizeof(pbandwidth[0]), vop_bandwidth_cmp, NULL);
vop_bw_info->line_bw_mbyte = vop_calc_max_bandwidth(pbandwidth, 0, cnt, vdisplay);
line_bw_mbyte = vop_calc_max_bandwidth(pbandwidth, 0, cnt, vdisplay);
kfree(pbandwidth);
/*
* line_bandwidth(MB/s)