Skip to content

Support SNA via a configuration option

Eugeni Dodonov intel-gfx 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Enable SNA via a configuration file option.src/common.h src/intel_driver.c src/intel_module.c +2 more+100 -210 replies
2/2Unify options handling between UXA and SNAsrc/intel_driver.c src/intel_module.c src/intel_opts.h +5 more+85 -990 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Support SNA via a configuration option

This patchset adds support for enabling SNA support via a configuration file option.

This way, it is possible to switch between UXA and SNA via config file changes, instead of having to recompile and install full driver.

Second patch goes a bit onwards and also unifies the options between SNA and UXA drivers into a single intelOptions structure. To reduce the universe entropy, those options are moved into intel_opts.h header, and the modules which need to use them do so by including this file.

Eugeni Dodonov (2):
Enable SNA via a configuration file option.
Unify options handling between UXA and SNA

 src/common.h                |    2 +-
 src/intel_driver.c          |  151 +++++++++++++++++++++++++++----------------
 src/intel_module.c          |   14 +---
 src/intel_opts.h            |   67 +++++++++++++++++++
 src/sna/sna.h               |   15 ----
 src/sna/sna_display.c       |    2 +
 src/sna/sna_driver.c        |   39 ++----------
 src/sna/sna_module.h        |    3 +-
 src/sna/sna_video.c         |    2 +
 src/sna/sna_video_overlay.c |    2 +
 10 files changed, 181 insertions(+), 116 deletions(-)
 create mode 100644 src/intel_opts.h
Signature · 1 line
1.7.7.1