evergreen.c (c09c9dd2e9c732658c744a802101d5c34fedde22) | evergreen.c (cb5d41664375ad4fbe47bdae745bb6fe8d837e68) |
---|---|
1/* 2 * Copyright 2010 Advanced Micro Devices, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 5330 unchanged lines hidden (view full) --- 5339 /* wptr/rptr are in bytes! */ 5340 rptr += 16; 5341 rptr &= rdev->ih.ptr_mask; 5342 WREG32(IH_RB_RPTR, rptr); 5343 } 5344 if (queue_dp) 5345 schedule_work(&rdev->dp_work); 5346 if (queue_hotplug) | 1/* 2 * Copyright 2010 Advanced Micro Devices, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 5330 unchanged lines hidden (view full) --- 5339 /* wptr/rptr are in bytes! */ 5340 rptr += 16; 5341 rptr &= rdev->ih.ptr_mask; 5342 WREG32(IH_RB_RPTR, rptr); 5343 } 5344 if (queue_dp) 5345 schedule_work(&rdev->dp_work); 5346 if (queue_hotplug) |
5347 schedule_work(&rdev->hotplug_work); | 5347 schedule_delayed_work(&rdev->hotplug_work, 0); |
5348 if (queue_hdmi) 5349 schedule_work(&rdev->audio_work); 5350 if (queue_thermal && rdev->pm.dpm_enabled) 5351 schedule_work(&rdev->pm.dpm.thermal.work); 5352 rdev->ih.rptr = rptr; 5353 atomic_set(&rdev->ih.lock, 0); 5354 5355 /* make sure wptr hasn't changed while processing */ --- 566 unchanged lines hidden --- | 5348 if (queue_hdmi) 5349 schedule_work(&rdev->audio_work); 5350 if (queue_thermal && rdev->pm.dpm_enabled) 5351 schedule_work(&rdev->pm.dpm.thermal.work); 5352 rdev->ih.rptr = rptr; 5353 atomic_set(&rdev->ih.lock, 0); 5354 5355 /* make sure wptr hasn't changed while processing */ --- 566 unchanged lines hidden --- |