drm/komeda: Add komeda_fb_check_src_coords
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Fri, 17 May 2019 10:05:06 +0000 (11:05 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 19 Jun 2019 10:42:17 +0000 (11:42 +0100)
commitdf860f98bcd52c5425b40eb53e6a46ddbb6f1adc
tree51ab1d7bb3c1c2fb12fdd2bd650c24c5eac03abc
parent6af386db05635db7cc3fac4d1d38a83b953f7251
drm/komeda: Add komeda_fb_check_src_coords

Add komeda_fb_check_src_coords and check if the layer configured src
rect can meet the requirement of fb and fb format.

Signed-off-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.h
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c