vlv: it might be wise if we initialised the flag value...
Otherwise our initial behaviour is "randomly save a bogus PLL choice" as far as I can see. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
e8aeaee7b0
commit
af447bd358
1 changed files with 1 additions and 0 deletions
|
@ -869,6 +869,7 @@ intel_vlv_find_best_pll(const intel_limit_t *limit, struct drm_crtc *crtc,
|
||||||
unsigned long bestppm, ppm, absppm;
|
unsigned long bestppm, ppm, absppm;
|
||||||
int dotclk, flag;
|
int dotclk, flag;
|
||||||
|
|
||||||
|
flag = 0;
|
||||||
dotclk = target * 1000;
|
dotclk = target * 1000;
|
||||||
bestppm = 1000000;
|
bestppm = 1000000;
|
||||||
ppm = absppm = 0;
|
ppm = absppm = 0;
|
||||||
|
|
Loading…
Reference in a new issue