cik.c (9f30a04d768f64280dc0c40b730746e82f298d88) cik.c (cb5d41664375ad4fbe47bdae745bb6fe8d837e68)
1/*
2 * Copyright 2012 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

--- 8458 unchanged lines hidden (view full) ---

8467 /* wptr/rptr are in bytes! */
8468 rptr += 16;
8469 rptr &= rdev->ih.ptr_mask;
8470 WREG32(IH_RB_RPTR, rptr);
8471 }
8472 if (queue_dp)
8473 schedule_work(&rdev->dp_work);
8474 if (queue_hotplug)
1/*
2 * Copyright 2012 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

--- 8458 unchanged lines hidden (view full) ---

8467 /* wptr/rptr are in bytes! */
8468 rptr += 16;
8469 rptr &= rdev->ih.ptr_mask;
8470 WREG32(IH_RB_RPTR, rptr);
8471 }
8472 if (queue_dp)
8473 schedule_work(&rdev->dp_work);
8474 if (queue_hotplug)
8475 schedule_work(&rdev->hotplug_work);
8475 schedule_delayed_work(&rdev->hotplug_work, 0);
8476 if (queue_reset) {
8477 rdev->needs_reset = true;
8478 wake_up_all(&rdev->fence_queue);
8479 }
8480 if (queue_thermal)
8481 schedule_work(&rdev->pm.dpm.thermal.work);
8482 rdev->ih.rptr = rptr;
8483 atomic_set(&rdev->ih.lock, 0);

--- 1610 unchanged lines hidden ---
8476 if (queue_reset) {
8477 rdev->needs_reset = true;
8478 wake_up_all(&rdev->fence_queue);
8479 }
8480 if (queue_thermal)
8481 schedule_work(&rdev->pm.dpm.thermal.work);
8482 rdev->ih.rptr = rptr;
8483 atomic_set(&rdev->ih.lock, 0);

--- 1610 unchanged lines hidden ---