UPSTREAM: drm/i915/skl: Fix has_ipc on skl and document WaDisableIPC.
According to Spec for SKL+: "Isochronous Priority Control.
If enabled, Display sends demoted requests once the transition
watermark is reached. If transition watermark is not enabled,
Display sends demoted requests when the display buffer is full."
The commit 'e57f1c02155f ("drm/i915/gen9+: Add has_ipc flag in
device info structure")' introduced that as gen9+ but missing many
I believe the reason for that is Spec also mentions workarounds for
SKL-ALL: "IPC (Isoch Priority Control) may cause underflows
WA: Do not enable IPC in register ARB_CTL2"
It seems lame to add the feature and forever disable it,
but it will avoid a mistake of enabling it when we are reorganizing
the feature definitions on i915_pci.c later.
It will also allow us to probably extend that workaround for
TEST=boot casta, run google play
Cc: Mahesh Kumar <firstname.lastname@example.org>
Cc: Maarten Lankhorst <email@example.com>
Cc: Chris Wilson <firstname.lastname@example.org>
Signed-off-by: Rodrigo Vivi <email@example.com>
Reviewed-by: Mahesh Kumar <firstname.lastname@example.org>
(cherry picked from commit 4d6ef0da415124ebce578b1326f4e511e35d95f2)
Signed-off-by: Chiou, Cooper <email@example.com>
Tested-by: Cooper Chiou <firstname.lastname@example.org>
Tested-by: Cooper Chiou <email@example.com>
Commit-Ready: Cooper Chiou <firstname.lastname@example.org>
Legacy-Commit-Queue: Commit Bot <email@example.com>
Reviewed-by: Stéphane Marchesin <firstname.lastname@example.org>
Reviewed-by: Sean Paul <email@example.com>
(cherry picked from commit bb613a7875c1f440a65cbc73fc6effa78e9c5357)
Reviewed-by: Young H Kim <firstname.lastname@example.org>
Reviewed-by: Justin TerAvest <email@example.com>
Tested-by: Young H Kim <firstname.lastname@example.org>
Tested-by: Justin TerAvest <email@example.com>
Commit-Queue: Justin TerAvest <firstname.lastname@example.org>
2 files changed