OSDN Git Service

drm: drop commented out code and preceding comment
authorPaul Bolle <pebolle@tiscali.nl>
Sat, 19 Feb 2011 21:35:55 +0000 (22:35 +0100)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Mon, 28 Feb 2011 08:16:56 +0000 (17:16 +0900)
r100_gpu_init() was dropped in 90aca4d ("drm/radeon/kms: simplify &
improve GPU reset V2") but here it was only commented out.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c

index 56deae5..be817f8 100644 (file)
@@ -3801,8 +3801,6 @@ static int r100_startup(struct radeon_device *rdev)
        r100_mc_program(rdev);
        /* Resume clock */
        r100_clock_startup(rdev);
-       /* Initialize GPU configuration (# pipes, ...) */
-//     r100_gpu_init(rdev);
        /* Initialize GART (initialize after TTM so we can allocate
         * memory through TTM but finalize after TTM) */
        r100_enable_bm(rdev);