class DdiAuxMutex

Defined at line 957 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

DDI_AUX_MUTEX (DDI AUX Channel Mutex)

This register is not documented on Tiger Lake or DG1.

Kaby Lake: IHD-OS-KBL-Vol 2c-1.17 Part 1 pages 440-441

Skylake: IHD-OS-SKL-Vol 2c-05.16 Part 1 page 436-437

Public Members

 field_enabled_963
 field_acquired_976

Public Methods

template <, >
typename SelfType::ValueType enabled ()

If true, the mutex is used to arbitrate AUX channel access.

The mutex must be enabled and acquired if PSR 1/2 (Panel Self-Refresh) or

GTC (Global Time Code) are used. Otherwise, the mutex can remain disabled.

Defined at line 963 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

template <, >
SelfType & set_enabled (typename SelfType::ValueType val)

If true, the mutex is used to arbitrate AUX channel access.

The mutex must be enabled and acquired if PSR 1/2 (Panel Self-Refresh) or

GTC (Global Time Code) are used. Otherwise, the mutex can remain disabled.

Defined at line 963 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

template <, >
typename SelfType::ValueType acquired ()

Reads acquire the mutex, writes release the mutex.

Any read is an attempt to acquire the mutex. A successful attempt returns

true in this field. Once the driver acquires the mutex, it retains

ownership (reads continue to return true) until it explicitly releases the

mutex.

This is a Write-Clear field. Writing true releases the mutex.

The driver should release the mutex once it completes an AUX transaction,

so the hardware can use it as well.

Defined at line 976 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

template <, >
SelfType & set_acquired (typename SelfType::ValueType val)

Reads acquire the mutex, writes release the mutex.

Any read is an attempt to acquire the mutex. A successful attempt returns

true in this field. Once the driver acquires the mutex, it retains

ownership (reads continue to return true) until it explicitly releases the

mutex.

This is a Write-Clear field. Writing true releases the mutex.

The driver should release the mutex once it completes an AUX transaction,

so the hardware can use it as well.

Defined at line 976 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

hwreg::RegisterAddr<DdiAuxData> GetForAuxControl (const DdiAuxControl & aux_control)

We can get away with using DDI_AUX_CTL as the input because all DDI AUX

channels currently have the same MMIO layout. When this isn't the case

anymore, we'll replace this factory function with GetFor*Ddi() functions,

matching DdiAuxControl.

Defined at line 982 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

Records