rs400.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | rs400.c (7ca85295d8cc280ea79cf6250c47363b7fd92f92) |
---|---|
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 --- 241 unchanged lines hidden (view full) --- 250 return -1; 251} 252 253static void rs400_gpu_init(struct radeon_device *rdev) 254{ 255 /* FIXME: is this correct ? */ 256 r420_pipes_init(rdev); 257 if (rs400_mc_wait_for_idle(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 --- 241 unchanged lines hidden (view full) --- 250 return -1; 251} 252 253static void rs400_gpu_init(struct radeon_device *rdev) 254{ 255 /* FIXME: is this correct ? */ 256 r420_pipes_init(rdev); 257 if (rs400_mc_wait_for_idle(rdev)) { |
258 printk(KERN_WARNING "rs400: Failed to wait MC idle while " 259 "programming pipes. Bad things might happen. %08x\n", RREG32(RADEON_MC_STATUS)); | 258 pr_warn("rs400: Failed to wait MC idle while programming pipes. Bad things might happen. %08x\n", 259 RREG32(RADEON_MC_STATUS)); |
260 } 261} 262 263static void rs400_mc_init(struct radeon_device *rdev) 264{ 265 u64 base; 266 267 rs400_gart_adjust_size(rdev); --- 319 unchanged lines hidden --- | 260 } 261} 262 263static void rs400_mc_init(struct radeon_device *rdev) 264{ 265 u64 base; 266 267 rs400_gart_adjust_size(rdev); --- 319 unchanged lines hidden --- |