]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15231a157621e84d6f3cfe1c6f3fbdae623e756e
tree51ab1d7bb3c1c2fb12fdd2bd650c24c5eac03abc
parentb19015e80251b0ccd78f4e9b4214d828f2190300
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