[PATCH] [PATCH] drm/amdgpu: Verify bo size can fit framebuffer size

2021-02-26 Thread Mark Yacoub
When creating a new framebuffer, verify that the bo size associated with it can handle the fb size. drm_gem_fb_init_with_funcs implements this check by calculating the minimum expected size of each plane. amdgpu now uses this function to initialize its fb as it performs the required checks. The bu

[PATCH] [PATCH] drm/amdgpu: Verify bo size can fit framebuffer size

2021-02-26 Thread Mark Yacoub
When creating a new framebuffer, verify that the bo size associated with it can handle the fb size. drm_gem_fb_init_with_funcs implements this check by calculating the minimum expected size of each plane. amdgpu now uses this function to initialize its fb as it performs the required checks. The bu