9e675a54e3
1. Use the atomic drm mode. 2. Find a mode in the connector with most closed area with the input image. 3. Set the plane property to scale the input image. Signed-off-by: zejian.su <zejian.su@starfivetech.com>