diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index bd70cfa3e5b4..f0d79e614aa4 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c @@ -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)