]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: consolidate crtc count in rdev
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 1 Feb 2010 21:02:25 +0000 (16:02 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 8 Feb 2010 23:32:25 +0000 (09:32 +1000)
commit82852f78c439ee31418b0fa00b14968354dac041
treeb4014b7c07e2dc720c29b55077327c8067e4ccb5
parentceb02ce85ca1303bef8ac01a5db30ca6c3271ecb
drm/radeon/kms: consolidate crtc count in rdev

Set the number of crtcs in rdev at crtc init and use it
whenever we need the crtc count rather than recalculating
it everytime.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_fb.c