rv515.c (1614f8b17b8cc3ad143541d41569623d30dbc9ec) rv515.c (4c7886791264f03428d5424befb1b96f08fc90f4)
1/*
2 * Copyright 2008 Advanced Micro Devices, Inc.
3 * Copyright 2008 Red Hat Inc.
4 * Copyright 2009 Jerome Glisse.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation

--- 525 unchanged lines hidden (view full) ---

534
535void rv515_fini(struct radeon_device *rdev)
536{
537 rv515_suspend(rdev);
538 r100_cp_fini(rdev);
539 r100_wb_fini(rdev);
540 r100_ib_fini(rdev);
541 radeon_gem_fini(rdev);
1/*
2 * Copyright 2008 Advanced Micro Devices, Inc.
3 * Copyright 2008 Red Hat Inc.
4 * Copyright 2009 Jerome Glisse.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation

--- 525 unchanged lines hidden (view full) ---

534
535void rv515_fini(struct radeon_device *rdev)
536{
537 rv515_suspend(rdev);
538 r100_cp_fini(rdev);
539 r100_wb_fini(rdev);
540 r100_ib_fini(rdev);
541 radeon_gem_fini(rdev);
542 rv370_pcie_gart_fini(rdev);
542 rv370_pcie_gart_fini(rdev);
543 radeon_agp_fini(rdev);
544 radeon_irq_kms_fini(rdev);
545 radeon_fence_driver_fini(rdev);
543 radeon_agp_fini(rdev);
544 radeon_irq_kms_fini(rdev);
545 radeon_fence_driver_fini(rdev);
546 radeon_object_fini(rdev);
546 radeon_bo_fini(rdev);
547 radeon_atombios_fini(rdev);
548 kfree(rdev->bios);
549 rdev->bios = NULL;
550}
551
552int rv515_init(struct radeon_device *rdev)
553{
554 int r;

--- 40 unchanged lines hidden (view full) ---

595 /* Fence driver */
596 r = radeon_fence_driver_init(rdev);
597 if (r)
598 return r;
599 r = radeon_irq_kms_init(rdev);
600 if (r)
601 return r;
602 /* Memory manager */
547 radeon_atombios_fini(rdev);
548 kfree(rdev->bios);
549 rdev->bios = NULL;
550}
551
552int rv515_init(struct radeon_device *rdev)
553{
554 int r;

--- 40 unchanged lines hidden (view full) ---

595 /* Fence driver */
596 r = radeon_fence_driver_init(rdev);
597 if (r)
598 return r;
599 r = radeon_irq_kms_init(rdev);
600 if (r)
601 return r;
602 /* Memory manager */
603 r = radeon_object_init(rdev);
603 r = radeon_bo_init(rdev);
604 if (r)
605 return r;
606 r = rv370_pcie_gart_init(rdev);
607 if (r)
608 return r;
609 rv515_set_safe_registers(rdev);
610 rdev->accel_working = true;
611 r = rv515_startup(rdev);

--- 564 unchanged lines hidden ---
604 if (r)
605 return r;
606 r = rv370_pcie_gart_init(rdev);
607 if (r)
608 return r;
609 rv515_set_safe_registers(rdev);
610 rdev->accel_working = true;
611 r = rv515_startup(rdev);

--- 564 unchanged lines hidden ---