[intel-i915] Log warnings on display engine transcoder underrun.

The logging is intended to contribute to diagnosing visual artifacts by
confirming / ruling out transcoder underruns as a possible cause.

This CL:
* Adds the register definition for pipe-level underrun interrupts
* Enables underrun interrupts
* Handles underrun interrupts by zxlogf(WARNING) with the pipe ID

This CL changes both the intel-i915 (stable) and the intel-i915-tgl
(experimental) display engine drivers. The intel-i915 changes are
minimal, while the intel-i915-tgl changes include some readability
cleanups.

Bug: 111131, 111879
Tested: Booted workstation.chromebook-x64 on Atlas
Tested: Booted core.x64 on Pyrmont
Change-Id: Ib7fefb276a5ccc727cb2100631fc41f62fcc7308
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/742344
Reviewed-by: John Bauman <jbauman@google.com>
Commit-Queue: Victor Costan <costan@google.com>
Fuchsia-Auto-Submit: Victor Costan <costan@google.com>
7 files changed
tree: 33f22d6827ba9b849811b79d9e3dda16d629119d
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. products/
  7. scripts/
  8. sdk/
  9. src/
  10. third_party/
  11. tools/
  12. zircon/
  13. .clang-format
  14. .clang-tidy
  15. .editorconfig
  16. .git-blame-ignore-revs
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. analysis_options.yaml
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. pyrightconfig.json
  30. README.md
  31. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.