rs690.c (a2d07b7438f015a0349bc9af3c96a8164549bbc5) rs690.c (90aca4d2740255bd130ea71a91530b9920c70abe)
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

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

43 return 0;
44 udelay(1);
45 }
46 return -1;
47}
48
49static void rs690_gpu_init(struct radeon_device *rdev)
50{
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

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

43 return 0;
44 udelay(1);
45 }
46 return -1;
47}
48
49static void rs690_gpu_init(struct radeon_device *rdev)
50{
51 /* FIXME: HDP same place on rs690 ? */
52 r100_hdp_reset(rdev);
53 /* FIXME: is this correct ? */
54 r420_pipes_init(rdev);
55 if (rs690_mc_wait_for_idle(rdev)) {
56 printk(KERN_WARNING "Failed to wait MC idle while "
57 "programming pipes. Bad things might happen.\n");
58 }
59}
60

--- 705 unchanged lines hidden ---
51 /* FIXME: is this correct ? */
52 r420_pipes_init(rdev);
53 if (rs690_mc_wait_for_idle(rdev)) {
54 printk(KERN_WARNING "Failed to wait MC idle while "
55 "programming pipes. Bad things might happen.\n");
56 }
57}
58

--- 705 unchanged lines hidden ---