Re: [PATCH] drm/exynos: forbid creating framebuffers from too small GEM buffers

2017-08-08 Thread Inki Dae
2017년 08월 08일 22:33에 Marek Szyprowski 이(가) 쓴 글: > Hi all, > > On 2017-07-12 12:09, Marek Szyprowski wrote: >> Add a check if the framebuffer described by the provided drm_mode_fb_cmd2 >> structure fits into provided GEM buffers. Without this check it is >> possible to create a framebuffer object

Re: [PATCH] drm/exynos: forbid creating framebuffers from too small GEM buffers

2017-08-08 Thread Tobias Jakobi
Hello Marek, I have a similar patch in my tree, so this one is Reviewed-by: Tobias Jakobi - Tobias Marek Szyprowski wrote: > Add a check if the framebuffer described by the provided drm_mode_fb_cmd2 > structure fits into provided GEM buffers. Without this check it is > possible to create a fr

Re: [PATCH] drm/exynos: forbid creating framebuffers from too small GEM buffers

2017-08-08 Thread Marek Szyprowski
Hi all, On 2017-07-12 12:09, Marek Szyprowski wrote: Add a check if the framebuffer described by the provided drm_mode_fb_cmd2 structure fits into provided GEM buffers. Without this check it is possible to create a framebuffer object from a small buffer and set it to the hardware, what results i

[PATCH] drm/exynos: forbid creating framebuffers from too small GEM buffers

2017-07-12 Thread Marek Szyprowski
Add a check if the framebuffer described by the provided drm_mode_fb_cmd2 structure fits into provided GEM buffers. Without this check it is possible to create a framebuffer object from a small buffer and set it to the hardware, what results in displaying system memory outside the allocated GEM buf