[PATCH] drm/kms/atomic: Used existing func for checking fb geometry

2018-07-27 Thread Satendra Singh Thakur
1.In the func drm_atomic_plane_check, the fb geometry checking code can be replaced by func drm_framebuffer_check_src_coords, this will remove several redundant lines of code. 2. Currently, in the func drm_atomic_plane_check; there are 3 if statements in the beginning with total 5 conditions. these

Re: [PATCH] drm/kms/atomic: Used existing func for checking fb geometry

2018-07-27 Thread Maarten Lankhorst
Op 27-07-18 om 10:38 schreef Satendra Singh Thakur: > 1.In the func drm_atomic_plane_check, the fb geometry checking code > can be replaced by func drm_framebuffer_check_src_coords, this will > remove several redundant lines of code. > 2. Currently, in the func drm_atomic_plane_check; > there are 3