mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
drm/mgag200: Compute PLL values during atomic check
PLL setup can fail if the display mode's clock is not supported by any PLL configuration. Compute the PLL values during atomic check, so that atomic commits can fail at the appropriate time. If successful, use the values in the atomic-update phase. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20210714142240.21979-14-tzimmermann@suse.de
This commit is contained in:
@@ -159,6 +159,8 @@ struct mgag200_pll {
|
||||
|
||||
struct mgag200_crtc_state {
|
||||
struct drm_crtc_state base;
|
||||
|
||||
struct mgag200_pll_values pixpllc;
|
||||
};
|
||||
|
||||
static inline struct mgag200_crtc_state *to_mgag200_crtc_state(struct drm_crtc_state *base)
|
||||
|
||||
Reference in New Issue
Block a user