Merge tag 'asoc-v5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for v5.10 Not a huge amount going on in the core for ASoC this time but quite a lot of driver activity, especially for the Intel platforms: - Replacement of the DSP driver for some older x86 systems with a new one which was written with closer reference to the DSP firmware so should hopefully be more robust and maintainable. - A big batch of static checker and other fixes for the rest of the x86 DSP drivers. - Cleanup of the error unwinding code from Morimoto-san, hopefully making it more robust. - Helpers for parsing auxiluary devices from the device tree from Stephan Gerhold. - New support for AllWinner A64, Cirrus Logic CS4234, Mediatek MT6359 Microchip S/PDIF TX and RX controllers, Realtek RT1015P, and Texas Instruments J721E, TAS2110, TAS2564 and TAS2764
This commit is contained in:
@@ -29,6 +29,9 @@
|
||||
/* Slave address for the HDCP registers in the receiver */
|
||||
#define DRM_HDCP_DDC_ADDR 0x3A
|
||||
|
||||
/* Value to use at the end of the SHA-1 bytestream used for repeaters */
|
||||
#define DRM_HDCP_SHA1_TERMINATOR 0x80
|
||||
|
||||
/* HDCP register offsets for HDMI/DVI devices */
|
||||
#define DRM_HDCP_DDC_BKSV 0x00
|
||||
#define DRM_HDCP_DDC_RI_PRIME 0x08
|
||||
|
@@ -164,6 +164,8 @@ int drm_modeset_lock_all_ctx(struct drm_device *dev,
|
||||
* is 0, so no error checking is necessary
|
||||
*/
|
||||
#define DRM_MODESET_LOCK_ALL_BEGIN(dev, ctx, flags, ret) \
|
||||
if (!drm_drv_uses_atomic_modeset(dev)) \
|
||||
mutex_lock(&dev->mode_config.mutex); \
|
||||
drm_modeset_acquire_init(&ctx, flags); \
|
||||
modeset_lock_retry: \
|
||||
ret = drm_modeset_lock_all_ctx(dev, &ctx); \
|
||||
@@ -172,6 +174,7 @@ modeset_lock_retry: \
|
||||
|
||||
/**
|
||||
* DRM_MODESET_LOCK_ALL_END - Helper to release and cleanup modeset locks
|
||||
* @dev: drm device
|
||||
* @ctx: local modeset acquire context, will be dereferenced
|
||||
* @ret: local ret/err/etc variable to track error status
|
||||
*
|
||||
@@ -188,7 +191,7 @@ modeset_lock_retry: \
|
||||
* to that failure. In both of these cases the code between BEGIN/END will not
|
||||
* be run, so the failure will reflect the inability to grab the locks.
|
||||
*/
|
||||
#define DRM_MODESET_LOCK_ALL_END(ctx, ret) \
|
||||
#define DRM_MODESET_LOCK_ALL_END(dev, ctx, ret) \
|
||||
modeset_lock_fail: \
|
||||
if (ret == -EDEADLK) { \
|
||||
ret = drm_modeset_backoff(&ctx); \
|
||||
@@ -196,6 +199,8 @@ modeset_lock_fail: \
|
||||
goto modeset_lock_retry; \
|
||||
} \
|
||||
drm_modeset_drop_locks(&ctx); \
|
||||
drm_modeset_acquire_fini(&ctx);
|
||||
drm_modeset_acquire_fini(&ctx); \
|
||||
if (!drm_drv_uses_atomic_modeset(dev)) \
|
||||
mutex_unlock(&dev->mode_config.mutex);
|
||||
|
||||
#endif /* DRM_MODESET_LOCK_H_ */
|
||||
|
Reference in New Issue
Block a user