]> git.baikalelectronics.ru Git - kernel.git/commit
drm/komeda: Adds SMMU support
authorLowry Li (Arm Technology China) <Lowry.Li@arm.com>
Thu, 6 Jun 2019 09:53:05 +0000 (10:53 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 19 Jun 2019 10:42:17 +0000 (11:42 +0100)
commitcfd13ed8b3d8e8cd1909e29a86f2c2c6edd15f4f
tree0561ff5289d4614ddb4609fbfe1a50fb10916570
parentfe3833a155701bc67e8561b7d0f549a42cf1a2cc
drm/komeda: Adds SMMU support

Adds iommu_connect and disconnect for SMMU support, and configures
TBU translation once SMMU has been attached to the display device.

Signed-off-by: Lowry Li (Arm Technology China) <lowry.li@arm.com>
[fixed checking of error code returned by dp_wait_cond() and removed
extraneous DRM_ERROR() calls]
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/display/komeda/d71/d71_component.c
drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c
drivers/gpu/drm/arm/display/komeda/komeda_dev.c
drivers/gpu/drm/arm/display/komeda/komeda_dev.h
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.h