r600.c (9f30a04d768f64280dc0c40b730746e82f298d88) | r600.c (cb5d41664375ad4fbe47bdae745bb6fe8d837e68) |
---|---|
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 --- 4262 unchanged lines hidden (view full) --- 4271 } 4272 4273 /* wptr/rptr are in bytes! */ 4274 rptr += 16; 4275 rptr &= rdev->ih.ptr_mask; 4276 WREG32(IH_RB_RPTR, rptr); 4277 } 4278 if (queue_hotplug) | 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 --- 4262 unchanged lines hidden (view full) --- 4271 } 4272 4273 /* wptr/rptr are in bytes! */ 4274 rptr += 16; 4275 rptr &= rdev->ih.ptr_mask; 4276 WREG32(IH_RB_RPTR, rptr); 4277 } 4278 if (queue_hotplug) |
4279 schedule_work(&rdev->hotplug_work); | 4279 schedule_delayed_work(&rdev->hotplug_work, 0); |
4280 if (queue_hdmi) 4281 schedule_work(&rdev->audio_work); 4282 if (queue_thermal && rdev->pm.dpm_enabled) 4283 schedule_work(&rdev->pm.dpm.thermal.work); 4284 rdev->ih.rptr = rptr; 4285 atomic_set(&rdev->ih.lock, 0); 4286 4287 /* make sure wptr hasn't changed while processing */ --- 287 unchanged lines hidden --- | 4280 if (queue_hdmi) 4281 schedule_work(&rdev->audio_work); 4282 if (queue_thermal && rdev->pm.dpm_enabled) 4283 schedule_work(&rdev->pm.dpm.thermal.work); 4284 rdev->ih.rptr = rptr; 4285 atomic_set(&rdev->ih.lock, 0); 4286 4287 /* make sure wptr hasn't changed while processing */ --- 287 unchanged lines hidden --- |