diff options
author | Imre Deak <[email protected]> | 2018-01-30 16:29:39 +0200 |
---|---|---|
committer | Imre Deak <[email protected]> | 2018-02-01 21:13:21 +0200 |
commit | 006bb4ccac3901d790b56ed4729cd4080a77a895 (patch) | |
tree | f385d96a4b83498b863e96f8b7bb03072d537a7b /scripts/gdb/linux/utils.py | |
parent | e76019a81921e87a4d9e7b3d86102bc708a6c227 (diff) |
drm/i915/bxt, glk: Avoid long atomic poll during CDCLK change
There is no requirement for doing the PCODE request polling atomically,
so do that only for a short time switching to sleeping poll afterwards.
The specification requires a 150usec timeout for the change notification,
so let's use that for the atomic poll. Do the extra 2ms poll - needed as
a workaround on BXT/GLK - in sleeping mode.
v2:
- rebase on v2 of patchset dropping the sandybridge_pcode_read/write
refactoring (Chris)
Cc: Chris Wilson <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions