Skip to content

Commit

Permalink
drm/radeon/kms: set a default max_pixel_clock
Browse files Browse the repository at this point in the history
On some Power rv100 cards, we have no ATY OF table, but we have
no combios table either, and hence we refuse all modes on VGA-0
since we end up with a 0 max pixel clock.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Cc: stable@kernel.org
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
  • Loading branch information
Dave Airlie committed Aug 31, 2011
1 parent 9e79e3e commit 9adceaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/radeon/radeon_clocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ void radeon_get_clock_info(struct drm_device *dev)
} else {
DRM_INFO("Using generic clock info\n");

/* may need to be per card */
rdev->clock.max_pixel_clock = 35000;

if (rdev->flags & RADEON_IS_IGP) {
p1pll->reference_freq = 1432;
p2pll->reference_freq = 1432;
Expand Down

0 comments on commit 9adceaa

Please sign in to comment.