summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXiong Zhang <xiong.y.zhang@intel.com>2019-04-10 12:16:33 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2019-04-11 11:09:53 +0800
commitcd7879f79f83aec4bb13f0f823f323911dc5397b (patch)
tree84dfcd5181d7b3b4f082840de5032e718d23f1c8 /include
parent968a85b19d0a79dd8ed85f39e23eacd34b503e72 (diff)
drm/i915/gvt: Roundup fb->height into tile's height at calucation fb->size
When fb is tiled and fb->height isn't the multiple of tile's height, the format fb->size = fb->stride * fb->height, will get a smaller size than the actual size. As the memory height of tiled fb should be multiple of tile's height. Fixes: 7f1a93b1f1d1 ("drm/i915/gvt: Correct the calculation of plane size") Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions