aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/scheduler.c
diff options
context:
space:
mode:
authorXiong Zhang <xiong.y.zhang@intel.com>2019-04-10 12:16:34 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2019-04-25 15:29:38 +0800
commit4a6eccbcb9ea88cf0408115e9d130ce7062ee6fd (patch)
treea19abd7c66ea84c0eb513e98a91c9dfa813f9ebd /drivers/gpu/drm/i915/gvt/scheduler.c
parentdrm/i915/icl: Fix MG_DP_MODE() register programming (diff)
downloadlinux-dev-4a6eccbcb9ea88cf0408115e9d130ce7062ee6fd.tar.xz
linux-dev-4a6eccbcb9ea88cf0408115e9d130ce7062ee6fd.zip
drm/i915/gvt: Change fb_info->size from pages to bytes
fb_info->size is in pages, but some function need bytes when it is as a parameter. Such as: a. intel_gvt_ggtt_validate_range(), according to function definition b. vifio_device_gfx_plane_info->size, according to the comment of its definition So change fb_info->size into bytes. v2: Keep fb_info->size in real size instead of assinging casted page size(zhenyu) v3: obj->size should be page aligned and delete redundant check(zhenyu) Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com> Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/scheduler.c')
0 files changed, 0 insertions, 0 deletions