si.c (9f30a04d768f64280dc0c40b730746e82f298d88) | si.c (cb5d41664375ad4fbe47bdae745bb6fe8d837e68) |
---|---|
1/* 2 * Copyright 2011 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 --- 6834 unchanged lines hidden (view full) --- 6843 /* wptr/rptr are in bytes! */ 6844 rptr += 16; 6845 rptr &= rdev->ih.ptr_mask; 6846 WREG32(IH_RB_RPTR, rptr); 6847 } 6848 if (queue_dp) 6849 schedule_work(&rdev->dp_work); 6850 if (queue_hotplug) | 1/* 2 * Copyright 2011 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 --- 6834 unchanged lines hidden (view full) --- 6843 /* wptr/rptr are in bytes! */ 6844 rptr += 16; 6845 rptr &= rdev->ih.ptr_mask; 6846 WREG32(IH_RB_RPTR, rptr); 6847 } 6848 if (queue_dp) 6849 schedule_work(&rdev->dp_work); 6850 if (queue_hotplug) |
6851 schedule_work(&rdev->hotplug_work); | 6851 schedule_delayed_work(&rdev->hotplug_work, 0); |
6852 if (queue_thermal && rdev->pm.dpm_enabled) 6853 schedule_work(&rdev->pm.dpm.thermal.work); 6854 rdev->ih.rptr = rptr; 6855 atomic_set(&rdev->ih.lock, 0); 6856 6857 /* make sure wptr hasn't changed while processing */ 6858 wptr = si_get_ih_wptr(rdev); 6859 if (wptr != rptr) --- 1033 unchanged lines hidden --- | 6852 if (queue_thermal && rdev->pm.dpm_enabled) 6853 schedule_work(&rdev->pm.dpm.thermal.work); 6854 rdev->ih.rptr = rptr; 6855 atomic_set(&rdev->ih.lock, 0); 6856 6857 /* make sure wptr hasn't changed while processing */ 6858 wptr = si_get_ih_wptr(rdev); 6859 if (wptr != rptr) --- 1033 unchanged lines hidden --- |