Rev 5271 | Rev 6661 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5271 | Rev 6104 | ||
---|---|---|---|
Line 186... | Line 186... | ||
186 | 186 | ||
187 | if (rdev->num_crtc && rdev->mode_info.mode_config_initialized) { |
187 | if (rdev->num_crtc && rdev->mode_info.mode_config_initialized) { |
188 | list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { |
188 | list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { |
189 | radeon_crtc = to_radeon_crtc(crtc); |
189 | radeon_crtc = to_radeon_crtc(crtc); |
190 | if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { |
190 | if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { |
191 | vrefresh = radeon_crtc->hw_mode.vrefresh; |
191 | vrefresh = drm_mode_vrefresh(&radeon_crtc->hw_mode); |
192 | break; |
192 | break; |
193 | } |
193 | } |
194 | } |
194 | } |
195 | } |
195 | } |