disp: msm: dp: filter modes based on sde resource availability
Not considering the currently available sde resources and caps while filtering/validating a mode will report unavailable modes and result in an atomic commit failure. DP should calculate the number of required lms and verify if lms/3dmux are available before a validating a mode. Change-Id: Idadcc655c30f5a831c47cf22b60085052b5b9fcd Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
Этот коммит содержится в:
@@ -78,7 +78,8 @@ struct dp_display {
|
||||
int (*set_mode)(struct dp_display *dp_display, void *panel,
|
||||
struct dp_display_mode *mode);
|
||||
enum drm_mode_status (*validate_mode)(struct dp_display *dp_display,
|
||||
void *panel, struct drm_display_mode *mode);
|
||||
void *panel, struct drm_display_mode *mode,
|
||||
const struct msm_resource_caps_info *avail_res);
|
||||
int (*get_modes)(struct dp_display *dp_display, void *panel,
|
||||
struct dp_display_mode *dp_mode);
|
||||
int (*prepare)(struct dp_display *dp_display, void *panel);
|
||||
|
Ссылка в новой задаче
Block a user