History

ASoC: Intel: avs: Fixes and new platforms support

Merge series from Cezary Rojewski <cezary.rojewski@intel.com>: The avs-driver continues to be utilized on more recent Intel machines. As TGL-based (cAVS 2.5) e.g.: RPL, inherit most of the functionality from previous platforms: SKL <- APL <- CNL <- ICL <- TGL rather than putting everything into a single file, the platform-specific bits are split into cnl/icl/tgl.c files instead. Makes the division clear and code easier to maintain. Layout of the patchset: First are two changes combined together address the sound-clipping problem, present when only one stream is running - specifically one CAPTURE stream. Follow up is naming-scheme adjustment for some of the existing functions what improves code incohesiveness. As existing IPC/IRQ code operates solely on cAVS 1.5 architecture, it needs no abstraction. The situation changes when newer platforms come into the picture. Thus the next two patches abstract the existing IPC/IRQ handlers so that majority of the common code can be re-used. The ICCMAX change stands out a bit - the AudioDSP firmware loading procedure differs on ICL-based platforms (and onwards) and having a separate commit makes the situation clear to the developers who are going to support the solution from LTS perspective. For that reason I decided not to merge it into the commit introducing the icl.c file.

Mark Brown committed 2 years ago

Commit b96ccdc2 parents 3b4ec34 5b417fe1210 files · +12518 −6893Browse files

Showing the changes to include/uapi (5 of 1210 files). Show all

Unified · Split

5 files
  1. include/uapi/drm/ivpu_accel.h +1 −0
  2. include/uapi/linux/iio/types.h +2 −2
  3. include/uapi/linux/netfilter/nf_tables.h +2 −0
  4. include/uapi/linux/serial.h +7 −6
  5. include/uapi/xen/gntalloc.h +4 −1
include/uapi/drm/ivpu_accel.h+1−0
@@ -305,6 +305,7 @@ struct drm_ivpu_submit { · 304 unmodified lines
305305
306306 /* drm_ivpu_bo_wait job status codes */
307307 #define DRM_IVPU_JOB_STATUS_SUCCESS 0
308+#define DRM_IVPU_JOB_STATUS_ABORTED 256
308309
309310 /**
310311 * struct drm_ivpu_bo_wait - Wait for BO to become inactive
include/uapi/linux/iio/types.h+2−2
@@ -91,8 +91,6 @@ enum iio_modifier { · 90 unmodified lines
9191 IIO_MOD_CO2,
9292 IIO_MOD_VOC,
9393 IIO_MOD_LIGHT_UV,
94− IIO_MOD_LIGHT_UVA,
95− IIO_MOD_LIGHT_UVB,
9694 IIO_MOD_LIGHT_DUV,
9795 IIO_MOD_PM1,
9896 IIO_MOD_PM2P5,
@@ -107,6 +105,8 @@ enum iio_modifier { · 8 unmodified lines
107105 IIO_MOD_PITCH,
108106 IIO_MOD_YAW,
109107 IIO_MOD_ROLL,
108+ IIO_MOD_LIGHT_UVA,
109+ IIO_MOD_LIGHT_UVB,
110110 };
111111
112112 enum iio_event_type {
include/uapi/linux/netfilter/nf_tables.h+2−0
@@ -285,9 +285,11 @@ enum nft_rule_attributes { · 284 unmodified lines
285285 /**
286286 * enum nft_rule_compat_flags - nf_tables rule compat flags
287287 *
288+ * @NFT_RULE_COMPAT_F_UNUSED: unused
288289 * @NFT_RULE_COMPAT_F_INV: invert the check result
289290 */
290291 enum nft_rule_compat_flags {
292+ NFT_RULE_COMPAT_F_UNUSED = (1 << 0),
291293 NFT_RULE_COMPAT_F_INV = (1 << 1),
292294 NFT_RULE_COMPAT_F_MASK = NFT_RULE_COMPAT_F_INV,
293295 };
include/uapi/linux/serial.h+7−6
@@ -145,12 +145,13 @@ struct serial_rs485 { · 144 unmodified lines
145145 #define SER_RS485_ENABLED _BITUL(0)
146146 #define SER_RS485_RTS_ON_SEND _BITUL(1)
147147 #define SER_RS485_RTS_AFTER_SEND _BITUL(2)
148−#define SER_RS485_RX_DURING_TX _BITUL(3)
149−#define SER_RS485_TERMINATE_BUS _BITUL(4)
150−#define SER_RS485_ADDRB _BITUL(5)
151−#define SER_RS485_ADDR_RECV _BITUL(6)
152−#define SER_RS485_ADDR_DEST _BITUL(7)
153−#define SER_RS485_MODE_RS422 _BITUL(8)
148+/* Placeholder for bit 3: SER_RS485_RTS_BEFORE_SEND, which isn't used anymore */
149+#define SER_RS485_RX_DURING_TX _BITUL(4)
150+#define SER_RS485_TERMINATE_BUS _BITUL(5)
151+#define SER_RS485_ADDRB _BITUL(6)
152+#define SER_RS485_ADDR_RECV _BITUL(7)
153+#define SER_RS485_ADDR_DEST _BITUL(8)
154+#define SER_RS485_MODE_RS422 _BITUL(9)
154155
155156 __u32 delay_rts_before_send;
156157 __u32 delay_rts_after_send;
include/uapi/xen/gntalloc.h+4−1
@@ -31,7 +31,10 @@ struct ioctl_gntalloc_alloc_gref { · 30 unmodified lines
3131 __u64 index;
3232 /* The grant references of the newly created grant, one per page */
3333 /* Variable size, depending on count */
34− __u32 gref_ids[1];
34+ union {
35+ __u32 gref_ids[1];
36+ __DECLARE_FLEX_ARRAY(__u32, gref_ids_flex);
37+ };
3538 };
3639
3740 #define GNTALLOC_FLAG_WRITABLE 1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t