diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-10-01 12:02:11 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-10-01 19:33:46 -0400 |
commit | 62a8ea3f7bb61e5f92db0a648b7cc566852c36ec (patch) | |
tree | 3ffefdbe940c66591dd4863ccf3a766498bf5100 /drivers/gpu/drm/radeon/rv770.c | |
parent | c010f8000a925e08d84d9391e13dd297b9fdc393 (diff) |
drm/radeon/kms: Remove old init path as no hw use it anymore
This remove old init path and allow code cleanup, now all hw
use the new init path, see top of radeon.h for description of
this.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rv770.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c index e0b97d161397..867d04bc4d39 100644 --- a/drivers/gpu/drm/radeon/rv770.c +++ b/drivers/gpu/drm/radeon/rv770.c | |||
@@ -915,7 +915,7 @@ int rv770_resume(struct radeon_device *rdev) | |||
915 | return r; | 915 | return r; |
916 | } | 916 | } |
917 | 917 | ||
918 | r = radeon_ib_test(rdev); | 918 | r = r600_ib_test(rdev); |
919 | if (r) { | 919 | if (r) { |
920 | DRM_ERROR("radeon: failled testing IB (%d).\n", r); | 920 | DRM_ERROR("radeon: failled testing IB (%d).\n", r); |
921 | return r; | 921 | return r; |
@@ -946,7 +946,6 @@ int rv770_init(struct radeon_device *rdev) | |||
946 | { | 946 | { |
947 | int r; | 947 | int r; |
948 | 948 | ||
949 | rdev->new_init_path = true; | ||
950 | r = radeon_dummy_page_init(rdev); | 949 | r = radeon_dummy_page_init(rdev); |
951 | if (r) | 950 | if (r) |
952 | return r; | 951 | return r; |
@@ -1034,7 +1033,7 @@ int rv770_init(struct radeon_device *rdev) | |||
1034 | DRM_ERROR("radeon: failled initializing IB pool (%d).\n", r); | 1033 | DRM_ERROR("radeon: failled initializing IB pool (%d).\n", r); |
1035 | rdev->accel_working = false; | 1034 | rdev->accel_working = false; |
1036 | } | 1035 | } |
1037 | r = radeon_ib_test(rdev); | 1036 | r = r600_ib_test(rdev); |
1038 | if (r) { | 1037 | if (r) { |
1039 | DRM_ERROR("radeon: failled testing IB (%d).\n", r); | 1038 | DRM_ERROR("radeon: failled testing IB (%d).\n", r); |
1040 | rdev->accel_working = false; | 1039 | rdev->accel_working = false; |