rv770.c (f40d6817a5c2bf84f5fe7b5d1a83f1e8f8669951) | rv770.c (72542d77058bd45ccafd1e15ed3c70349fe3277b) |
---|---|
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 --- 961 unchanged lines hidden (view full) --- 970 if (!rdev->is_atom_bios) { 971 dev_err(rdev->dev, "Expecting atombios for R600 GPU\n"); 972 return -EINVAL; 973 } 974 r = radeon_atombios_init(rdev); 975 if (r) 976 return r; 977 /* Post card if necessary */ | 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 --- 961 unchanged lines hidden (view full) --- 970 if (!rdev->is_atom_bios) { 971 dev_err(rdev->dev, "Expecting atombios for R600 GPU\n"); 972 return -EINVAL; 973 } 974 r = radeon_atombios_init(rdev); 975 if (r) 976 return r; 977 /* Post card if necessary */ |
978 if (!r600_card_posted(rdev) && rdev->bios) { | 978 if (!r600_card_posted(rdev)) { 979 if (!rdev->bios) { 980 dev_err(rdev->dev, "Card not posted and no BIOS - ignoring\n"); 981 return -EINVAL; 982 } |
979 DRM_INFO("GPU not posted. posting now...\n"); 980 atom_asic_init(rdev->mode_info.atom_context); 981 } 982 /* Initialize scratch registers */ 983 r600_scratch_init(rdev); 984 /* Initialize surface registers */ 985 radeon_surface_init(rdev); 986 /* Initialize clocks */ --- 81 unchanged lines hidden --- | 983 DRM_INFO("GPU not posted. posting now...\n"); 984 atom_asic_init(rdev->mode_info.atom_context); 985 } 986 /* Initialize scratch registers */ 987 r600_scratch_init(rdev); 988 /* Initialize surface registers */ 989 radeon_surface_init(rdev); 990 /* Initialize clocks */ --- 81 unchanged lines hidden --- |