mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user