class FakeDpAuxChannel
Defined at line 25 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.h
FakeDpAuxChannel is a utility that allows the DPCD register space to be mocked for test that need
to exercise DisplayPort functionality.
Public Members
array registers
Public Methods
void SetDefaults ()
Populates the bare minimum of required fields to form a valid set of capabilities.
Defined at line 12 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.cc
void PopulateLinkRateTable (std::vector<uint16_t> values)
Defined at line 19 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.cc
void FakeDpAuxChannel ()
Defined at line 27 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.h
zx::result<> ReadEdidBlock (int index, std::span<uint8_t, edid::kBlockSize> edid_block)
`DpAuxChannel`:
Defined at line 29 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.cc
void SetDpcdRevision (dpcd::Revision rev)
Defined at line 32 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.h
void SetMaxLinkRate (uint8_t value)
Defined at line 36 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.h
void SetMaxLaneCount (uint8_t value)
Defined at line 38 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.h
bool DpcdRead (uint32_t addr, uint8_t * buf, size_t size)
Defined at line 39 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.cc
void SetSinkCount (uint8_t value)
Defined at line 40 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.h
void SetEdpCapable (dpcd::EdpRevision rev)
Defined at line 42 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.h
bool DpcdWrite (uint32_t addr, const uint8_t * buf, size_t size)
Defined at line 48 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.cc
void SetEdpBacklightBrightnessCapable ()
Defined at line 49 of file ../../src/graphics/display/drivers/intel-display/fake-dp-aux-channel.h