Skip to content

Commit

Permalink
vlv: it might be wise if we initialised the flag value...
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Daniel Vetter committed Jul 26, 2012
1 parent e8aeaee commit af447bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ intel_vlv_find_best_pll(const intel_limit_t *limit, struct drm_crtc *crtc,
unsigned long bestppm, ppm, absppm;
int dotclk, flag;

flag = 0;
dotclk = target * 1000;
bestppm = 1000000;
ppm = absppm = 0;
Expand Down

0 comments on commit af447bd

Please sign in to comment.