diff options
author | Xiong Zhang <xiong.y.zhang@intel.com> | 2019-04-10 12:16:34 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2019-04-25 15:29:38 +0800 |
commit | 4a6eccbcb9ea88cf0408115e9d130ce7062ee6fd (patch) | |
tree | a19abd7c66ea84c0eb513e98a91c9dfa813f9ebd /sound | |
parent | 447811a686e8da7325516a78069ccfbd139ef1a7 (diff) |
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 'sound')
0 files changed, 0 insertions, 0 deletions