drm: mali-dp: Add plane upscaling support
Enable the scaling engine for upscaling a single plane using the polyphase scaler. No image enhancement support or downscaling yet*, and composition result scaling is not implemented. * Downscaling a plane requires mclk > pxlclk. Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com> Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
This commit is contained in:
@@ -53,6 +53,9 @@ struct malidp_crtc_state {
|
||||
struct drm_crtc_state base;
|
||||
u32 gamma_coeffs[MALIDP_COEFFTAB_NUM_COEFFS];
|
||||
u32 coloradj_coeffs[MALIDP_COLORADJ_NUM_COEFFS];
|
||||
struct malidp_se_config scaler_config;
|
||||
/* Bitfield of all the planes that have requested a scaled output. */
|
||||
u8 scaled_planes_mask;
|
||||
};
|
||||
|
||||
#define to_malidp_crtc_state(x) container_of(x, struct malidp_crtc_state, base)
|
||||
|
Reference in New Issue
Block a user