| @@ -17,26 +17,27 @@ | | | @@ -17,26 +17,27 @@ |
17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, | | 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | | 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE | | 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE |
20 | * OF THIS SOFTWARE. | | 20 | * OF THIS SOFTWARE. |
21 | */ | | 21 | */ |
22 | | | 22 | |
23 | #include <linux/kernel.h> | | 23 | #include <linux/kernel.h> |
24 | #include <linux/module.h> | | 24 | #include <linux/module.h> |
25 | #include <linux/delay.h> | | 25 | #include <linux/delay.h> |
26 | #include <linux/init.h> | | 26 | #include <linux/init.h> |
27 | #include <linux/errno.h> | | 27 | #include <linux/errno.h> |
28 | #include <linux/sched.h> | | 28 | #include <linux/sched.h> |
29 | #include <linux/i2c.h> | | 29 | #include <linux/i2c.h> |
| | | 30 | #include <linux/export.h> |
30 | #include <drm/drm_dp_helper.h> | | 31 | #include <drm/drm_dp_helper.h> |
31 | #include <drm/drmP.h> | | 32 | #include <drm/drmP.h> |
32 | | | 33 | |
33 | /** | | 34 | /** |
34 | * DOC: dp helpers | | 35 | * DOC: dp helpers |
35 | * | | 36 | * |
36 | * These functions contain some common logic and helpers at various abstraction | | 37 | * These functions contain some common logic and helpers at various abstraction |
37 | * levels to deal with Display Port sink devices and related things like DP aux | | 38 | * levels to deal with Display Port sink devices and related things like DP aux |
38 | * channel transfers, EDID reading over DP aux channels, decoding certain DPCD | | 39 | * channel transfers, EDID reading over DP aux channels, decoding certain DPCD |
39 | * blocks, ... | | 40 | * blocks, ... |
40 | */ | | 41 | */ |
41 | | | 42 | |
42 | /* Run a single AUX_CH I2C transaction, writing/reading data as necessary */ | | 43 | /* Run a single AUX_CH I2C transaction, writing/reading data as necessary */ |