History log of /openbsd-current/sys/dev/pci/drm/drm_edid.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.44 15-Jun-2024 jsg

drm/edid: Parse topology block for all DispID structure v1.x

From Ville Syrjala
6040fcea46055159c5cafc95cd6f63e06028086b in linux-6.6.y/6.6.33
e0a200ab4b72afd581bd6f82fc1ef510a4fb5478 in mainline linux


Revision tags: OPENBSD_7_5_BASE
# 1.43 03-Feb-2024 jsg

return early if malloc fails to avoid use after free

found by "passing freed memory 'edid'" smatch warning


# 1.42 16-Jan-2024 jsg

update drm to linux 6.6.12

Thanks to the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_7_4_BASE
# 1.41 25-Sep-2023 jsg

drm/edid: Add quirk for OSVR HDK 2.0

From Ralph Campbell
766cc11e854eae64d1bb35a3d34d091f5b85afa9 in linux-6.1.y/6.1.55
98d4cb705bc00afd4a9a71cc1e84f7111682639a in mainline linux


# 1.40 27-Mar-2023 jsg

drm/edid: fix parsing of 3D modes from HDMI VSDB

From Jani Nikula
f0f427f3858fda994fe26aacdb7a51815995f035 in linux-6.1.y/6.1.16
72794d16bd535a984e6653a18f5862405b49b5f9 in mainline linux


# 1.39 27-Mar-2023 jsg

drm/edid: fix AVI infoframe aspect ratio handling

From Jani Nikula
26cbe4c63d1ed6b7e47ca196fd59f8a32ed353ca in linux-6.1.y/6.1.16
1cbc1f0d324ba6c4d1b10ac6362b5e0b029f63d5 in mainline linux


Revision tags: OPENBSD_7_3_BASE
# 1.38 27-Feb-2023 jsg

drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink

From Ankit Nautiyal
0deb50618944aed143269214daea0ba2ddf2222d in linux-6.1.y/6.1.14
18feaf6d0784dcba888859109676adf1e0260dfd in mainline linux


# 1.37 01-Jan-2023 jsg

update drm to linux 6.1.2

new hardware support includes

AMD
Raphael, Ryzen 7000 desktop, gfx1036/GC 10.3.6
Mendocino, Ryzen & Athlon 7020 Series mobile APU, gfx1037/GC 10.3.7
Navi 31, gfx1100 dGPU, GC 11.0.0, Radeon RX 7900 XT/XTX
gfx1101 dGPU
gfx1102 dGPU
gfx1103 APU

Thanks to the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_7_2_BASE
# 1.36 10-Jun-2022 jsg

drm/edid: fix invalid EDID extension block filtering

From Jani Nikula
96db9afa4958bbaee77995eb0c84e08cdcce74ae in linux 5.15.y/5.15.46
3aefc722ff52076407203b6af9713de567993adf in mainline linux


# 1.35 11-Apr-2022 jsg

drm/edid: Split deep color modes between RGB and YUV444

From Maxime Ripard
da491fc54e4e387419948840636df15f4a611ec4 in linux 5.15.y/5.15.33
4adc33f36d80489339f1b43dfeee96bb9ea8e459 in mainline linux


# 1.34 11-Apr-2022 jsg

drm/edid: Don't clear formats if using deep color

From Maxime Ripard
19da408ab41c984d49c55582b265645b964b6619 in linux 5.15.y/5.15.33
75478b3b393bcbdca4e6da76fe3a9f1a4133ec5d in mainline linux


# 1.33 11-Apr-2022 jsg

drm/edid: check basic audio support on CEA extension block

From Cooper Chiou
6e72980d588e220adbc2469181735399ceb9f9a8 in linux 5.15.y/5.15.33
5662abf6e21338be6d085d6375d3732ac6147fd2 in mainline linux


Revision tags: OPENBSD_7_1_BASE
# 1.32 02-Mar-2022 jsg

drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.43 03-Feb-2024 jsg

return early if malloc fails to avoid use after free

found by "passing freed memory 'edid'" smatch warning


# 1.42 16-Jan-2024 jsg

update drm to linux 6.6.12

Thanks to the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_7_4_BASE
# 1.41 25-Sep-2023 jsg

drm/edid: Add quirk for OSVR HDK 2.0

From Ralph Campbell
766cc11e854eae64d1bb35a3d34d091f5b85afa9 in linux-6.1.y/6.1.55
98d4cb705bc00afd4a9a71cc1e84f7111682639a in mainline linux


# 1.40 27-Mar-2023 jsg

drm/edid: fix parsing of 3D modes from HDMI VSDB

From Jani Nikula
f0f427f3858fda994fe26aacdb7a51815995f035 in linux-6.1.y/6.1.16
72794d16bd535a984e6653a18f5862405b49b5f9 in mainline linux


# 1.39 27-Mar-2023 jsg

drm/edid: fix AVI infoframe aspect ratio handling

From Jani Nikula
26cbe4c63d1ed6b7e47ca196fd59f8a32ed353ca in linux-6.1.y/6.1.16
1cbc1f0d324ba6c4d1b10ac6362b5e0b029f63d5 in mainline linux


Revision tags: OPENBSD_7_3_BASE
# 1.38 27-Feb-2023 jsg

drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink

From Ankit Nautiyal
0deb50618944aed143269214daea0ba2ddf2222d in linux-6.1.y/6.1.14
18feaf6d0784dcba888859109676adf1e0260dfd in mainline linux


# 1.37 01-Jan-2023 jsg

update drm to linux 6.1.2

new hardware support includes

AMD
Raphael, Ryzen 7000 desktop, gfx1036/GC 10.3.6
Mendocino, Ryzen & Athlon 7020 Series mobile APU, gfx1037/GC 10.3.7
Navi 31, gfx1100 dGPU, GC 11.0.0, Radeon RX 7900 XT/XTX
gfx1101 dGPU
gfx1102 dGPU
gfx1103 APU

Thanks to the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_7_2_BASE
# 1.36 10-Jun-2022 jsg

drm/edid: fix invalid EDID extension block filtering

From Jani Nikula
96db9afa4958bbaee77995eb0c84e08cdcce74ae in linux 5.15.y/5.15.46
3aefc722ff52076407203b6af9713de567993adf in mainline linux


# 1.35 11-Apr-2022 jsg

drm/edid: Split deep color modes between RGB and YUV444

From Maxime Ripard
da491fc54e4e387419948840636df15f4a611ec4 in linux 5.15.y/5.15.33
4adc33f36d80489339f1b43dfeee96bb9ea8e459 in mainline linux


# 1.34 11-Apr-2022 jsg

drm/edid: Don't clear formats if using deep color

From Maxime Ripard
19da408ab41c984d49c55582b265645b964b6619 in linux 5.15.y/5.15.33
75478b3b393bcbdca4e6da76fe3a9f1a4133ec5d in mainline linux


# 1.33 11-Apr-2022 jsg

drm/edid: check basic audio support on CEA extension block

From Cooper Chiou
6e72980d588e220adbc2469181735399ceb9f9a8 in linux 5.15.y/5.15.33
5662abf6e21338be6d085d6375d3732ac6147fd2 in mainline linux


Revision tags: OPENBSD_7_1_BASE
# 1.32 02-Mar-2022 jsg

drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.42 16-Jan-2024 jsg

update drm to linux 6.6.12

Thanks to the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_7_4_BASE
# 1.41 25-Sep-2023 jsg

drm/edid: Add quirk for OSVR HDK 2.0

From Ralph Campbell
766cc11e854eae64d1bb35a3d34d091f5b85afa9 in linux-6.1.y/6.1.55
98d4cb705bc00afd4a9a71cc1e84f7111682639a in mainline linux


# 1.40 27-Mar-2023 jsg

drm/edid: fix parsing of 3D modes from HDMI VSDB

From Jani Nikula
f0f427f3858fda994fe26aacdb7a51815995f035 in linux-6.1.y/6.1.16
72794d16bd535a984e6653a18f5862405b49b5f9 in mainline linux


# 1.39 27-Mar-2023 jsg

drm/edid: fix AVI infoframe aspect ratio handling

From Jani Nikula
26cbe4c63d1ed6b7e47ca196fd59f8a32ed353ca in linux-6.1.y/6.1.16
1cbc1f0d324ba6c4d1b10ac6362b5e0b029f63d5 in mainline linux


Revision tags: OPENBSD_7_3_BASE
# 1.38 27-Feb-2023 jsg

drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink

From Ankit Nautiyal
0deb50618944aed143269214daea0ba2ddf2222d in linux-6.1.y/6.1.14
18feaf6d0784dcba888859109676adf1e0260dfd in mainline linux


# 1.37 01-Jan-2023 jsg

update drm to linux 6.1.2

new hardware support includes

AMD
Raphael, Ryzen 7000 desktop, gfx1036/GC 10.3.6
Mendocino, Ryzen & Athlon 7020 Series mobile APU, gfx1037/GC 10.3.7
Navi 31, gfx1100 dGPU, GC 11.0.0, Radeon RX 7900 XT/XTX
gfx1101 dGPU
gfx1102 dGPU
gfx1103 APU

Thanks to the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_7_2_BASE
# 1.36 10-Jun-2022 jsg

drm/edid: fix invalid EDID extension block filtering

From Jani Nikula
96db9afa4958bbaee77995eb0c84e08cdcce74ae in linux 5.15.y/5.15.46
3aefc722ff52076407203b6af9713de567993adf in mainline linux


# 1.35 11-Apr-2022 jsg

drm/edid: Split deep color modes between RGB and YUV444

From Maxime Ripard
da491fc54e4e387419948840636df15f4a611ec4 in linux 5.15.y/5.15.33
4adc33f36d80489339f1b43dfeee96bb9ea8e459 in mainline linux


# 1.34 11-Apr-2022 jsg

drm/edid: Don't clear formats if using deep color

From Maxime Ripard
19da408ab41c984d49c55582b265645b964b6619 in linux 5.15.y/5.15.33
75478b3b393bcbdca4e6da76fe3a9f1a4133ec5d in mainline linux


# 1.33 11-Apr-2022 jsg

drm/edid: check basic audio support on CEA extension block

From Cooper Chiou
6e72980d588e220adbc2469181735399ceb9f9a8 in linux 5.15.y/5.15.33
5662abf6e21338be6d085d6375d3732ac6147fd2 in mainline linux


Revision tags: OPENBSD_7_1_BASE
# 1.32 02-Mar-2022 jsg

drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.41 25-Sep-2023 jsg

drm/edid: Add quirk for OSVR HDK 2.0

From Ralph Campbell
766cc11e854eae64d1bb35a3d34d091f5b85afa9 in linux-6.1.y/6.1.55
98d4cb705bc00afd4a9a71cc1e84f7111682639a in mainline linux


# 1.40 27-Mar-2023 jsg

drm/edid: fix parsing of 3D modes from HDMI VSDB

From Jani Nikula
f0f427f3858fda994fe26aacdb7a51815995f035 in linux-6.1.y/6.1.16
72794d16bd535a984e6653a18f5862405b49b5f9 in mainline linux


# 1.39 27-Mar-2023 jsg

drm/edid: fix AVI infoframe aspect ratio handling

From Jani Nikula
26cbe4c63d1ed6b7e47ca196fd59f8a32ed353ca in linux-6.1.y/6.1.16
1cbc1f0d324ba6c4d1b10ac6362b5e0b029f63d5 in mainline linux


Revision tags: OPENBSD_7_3_BASE
# 1.38 27-Feb-2023 jsg

drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink

From Ankit Nautiyal
0deb50618944aed143269214daea0ba2ddf2222d in linux-6.1.y/6.1.14
18feaf6d0784dcba888859109676adf1e0260dfd in mainline linux


# 1.37 01-Jan-2023 jsg

update drm to linux 6.1.2

new hardware support includes

AMD
Raphael, Ryzen 7000 desktop, gfx1036/GC 10.3.6
Mendocino, Ryzen & Athlon 7020 Series mobile APU, gfx1037/GC 10.3.7
Navi 31, gfx1100 dGPU, GC 11.0.0, Radeon RX 7900 XT/XTX
gfx1101 dGPU
gfx1102 dGPU
gfx1103 APU

Thanks to the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_7_2_BASE
# 1.36 10-Jun-2022 jsg

drm/edid: fix invalid EDID extension block filtering

From Jani Nikula
96db9afa4958bbaee77995eb0c84e08cdcce74ae in linux 5.15.y/5.15.46
3aefc722ff52076407203b6af9713de567993adf in mainline linux


# 1.35 11-Apr-2022 jsg

drm/edid: Split deep color modes between RGB and YUV444

From Maxime Ripard
da491fc54e4e387419948840636df15f4a611ec4 in linux 5.15.y/5.15.33
4adc33f36d80489339f1b43dfeee96bb9ea8e459 in mainline linux


# 1.34 11-Apr-2022 jsg

drm/edid: Don't clear formats if using deep color

From Maxime Ripard
19da408ab41c984d49c55582b265645b964b6619 in linux 5.15.y/5.15.33
75478b3b393bcbdca4e6da76fe3a9f1a4133ec5d in mainline linux


# 1.33 11-Apr-2022 jsg

drm/edid: check basic audio support on CEA extension block

From Cooper Chiou
6e72980d588e220adbc2469181735399ceb9f9a8 in linux 5.15.y/5.15.33
5662abf6e21338be6d085d6375d3732ac6147fd2 in mainline linux


Revision tags: OPENBSD_7_1_BASE
# 1.32 02-Mar-2022 jsg

drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.40 27-Mar-2023 jsg

drm/edid: fix parsing of 3D modes from HDMI VSDB

From Jani Nikula
f0f427f3858fda994fe26aacdb7a51815995f035 in linux-6.1.y/6.1.16
72794d16bd535a984e6653a18f5862405b49b5f9 in mainline linux


# 1.39 27-Mar-2023 jsg

drm/edid: fix AVI infoframe aspect ratio handling

From Jani Nikula
26cbe4c63d1ed6b7e47ca196fd59f8a32ed353ca in linux-6.1.y/6.1.16
1cbc1f0d324ba6c4d1b10ac6362b5e0b029f63d5 in mainline linux


Revision tags: OPENBSD_7_3_BASE
# 1.38 27-Feb-2023 jsg

drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink

From Ankit Nautiyal
0deb50618944aed143269214daea0ba2ddf2222d in linux-6.1.y/6.1.14
18feaf6d0784dcba888859109676adf1e0260dfd in mainline linux


# 1.37 01-Jan-2023 jsg

update drm to linux 6.1.2

new hardware support includes

AMD
Raphael, Ryzen 7000 desktop, gfx1036/GC 10.3.6
Mendocino, Ryzen & Athlon 7020 Series mobile APU, gfx1037/GC 10.3.7
Navi 31, gfx1100 dGPU, GC 11.0.0, Radeon RX 7900 XT/XTX
gfx1101 dGPU
gfx1102 dGPU
gfx1103 APU

Thanks to the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_7_2_BASE
# 1.36 10-Jun-2022 jsg

drm/edid: fix invalid EDID extension block filtering

From Jani Nikula
96db9afa4958bbaee77995eb0c84e08cdcce74ae in linux 5.15.y/5.15.46
3aefc722ff52076407203b6af9713de567993adf in mainline linux


# 1.35 11-Apr-2022 jsg

drm/edid: Split deep color modes between RGB and YUV444

From Maxime Ripard
da491fc54e4e387419948840636df15f4a611ec4 in linux 5.15.y/5.15.33
4adc33f36d80489339f1b43dfeee96bb9ea8e459 in mainline linux


# 1.34 11-Apr-2022 jsg

drm/edid: Don't clear formats if using deep color

From Maxime Ripard
19da408ab41c984d49c55582b265645b964b6619 in linux 5.15.y/5.15.33
75478b3b393bcbdca4e6da76fe3a9f1a4133ec5d in mainline linux


# 1.33 11-Apr-2022 jsg

drm/edid: check basic audio support on CEA extension block

From Cooper Chiou
6e72980d588e220adbc2469181735399ceb9f9a8 in linux 5.15.y/5.15.33
5662abf6e21338be6d085d6375d3732ac6147fd2 in mainline linux


Revision tags: OPENBSD_7_1_BASE
# 1.32 02-Mar-2022 jsg

drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.38 27-Feb-2023 jsg

drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink

From Ankit Nautiyal
0deb50618944aed143269214daea0ba2ddf2222d in linux-6.1.y/6.1.14
18feaf6d0784dcba888859109676adf1e0260dfd in mainline linux


# 1.37 01-Jan-2023 jsg

update drm to linux 6.1.2

new hardware support includes

AMD
Raphael, Ryzen 7000 desktop, gfx1036/GC 10.3.6
Mendocino, Ryzen & Athlon 7020 Series mobile APU, gfx1037/GC 10.3.7
Navi 31, gfx1100 dGPU, GC 11.0.0, Radeon RX 7900 XT/XTX
gfx1101 dGPU
gfx1102 dGPU
gfx1103 APU

Thanks to the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_7_2_BASE
# 1.36 10-Jun-2022 jsg

drm/edid: fix invalid EDID extension block filtering

From Jani Nikula
96db9afa4958bbaee77995eb0c84e08cdcce74ae in linux 5.15.y/5.15.46
3aefc722ff52076407203b6af9713de567993adf in mainline linux


# 1.35 11-Apr-2022 jsg

drm/edid: Split deep color modes between RGB and YUV444

From Maxime Ripard
da491fc54e4e387419948840636df15f4a611ec4 in linux 5.15.y/5.15.33
4adc33f36d80489339f1b43dfeee96bb9ea8e459 in mainline linux


# 1.34 11-Apr-2022 jsg

drm/edid: Don't clear formats if using deep color

From Maxime Ripard
19da408ab41c984d49c55582b265645b964b6619 in linux 5.15.y/5.15.33
75478b3b393bcbdca4e6da76fe3a9f1a4133ec5d in mainline linux


# 1.33 11-Apr-2022 jsg

drm/edid: check basic audio support on CEA extension block

From Cooper Chiou
6e72980d588e220adbc2469181735399ceb9f9a8 in linux 5.15.y/5.15.33
5662abf6e21338be6d085d6375d3732ac6147fd2 in mainline linux


Revision tags: OPENBSD_7_1_BASE
# 1.32 02-Mar-2022 jsg

drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.37 01-Jan-2023 jsg

update drm to linux 6.1.2

new hardware support includes

AMD
Raphael, Ryzen 7000 desktop, gfx1036/GC 10.3.6
Mendocino, Ryzen & Athlon 7020 Series mobile APU, gfx1037/GC 10.3.7
Navi 31, gfx1100 dGPU, GC 11.0.0, Radeon RX 7900 XT/XTX
gfx1101 dGPU
gfx1102 dGPU
gfx1103 APU

Thanks to the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_7_2_BASE
# 1.36 10-Jun-2022 jsg

drm/edid: fix invalid EDID extension block filtering

From Jani Nikula
96db9afa4958bbaee77995eb0c84e08cdcce74ae in linux 5.15.y/5.15.46
3aefc722ff52076407203b6af9713de567993adf in mainline linux


# 1.35 11-Apr-2022 jsg

drm/edid: Split deep color modes between RGB and YUV444

From Maxime Ripard
da491fc54e4e387419948840636df15f4a611ec4 in linux 5.15.y/5.15.33
4adc33f36d80489339f1b43dfeee96bb9ea8e459 in mainline linux


# 1.34 11-Apr-2022 jsg

drm/edid: Don't clear formats if using deep color

From Maxime Ripard
19da408ab41c984d49c55582b265645b964b6619 in linux 5.15.y/5.15.33
75478b3b393bcbdca4e6da76fe3a9f1a4133ec5d in mainline linux


# 1.33 11-Apr-2022 jsg

drm/edid: check basic audio support on CEA extension block

From Cooper Chiou
6e72980d588e220adbc2469181735399ceb9f9a8 in linux 5.15.y/5.15.33
5662abf6e21338be6d085d6375d3732ac6147fd2 in mainline linux


Revision tags: OPENBSD_7_1_BASE
# 1.32 02-Mar-2022 jsg

drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.36 10-Jun-2022 jsg

drm/edid: fix invalid EDID extension block filtering

From Jani Nikula
96db9afa4958bbaee77995eb0c84e08cdcce74ae in linux 5.15.y/5.15.46
3aefc722ff52076407203b6af9713de567993adf in mainline linux


# 1.35 11-Apr-2022 jsg

drm/edid: Split deep color modes between RGB and YUV444

From Maxime Ripard
da491fc54e4e387419948840636df15f4a611ec4 in linux 5.15.y/5.15.33
4adc33f36d80489339f1b43dfeee96bb9ea8e459 in mainline linux


# 1.34 11-Apr-2022 jsg

drm/edid: Don't clear formats if using deep color

From Maxime Ripard
19da408ab41c984d49c55582b265645b964b6619 in linux 5.15.y/5.15.33
75478b3b393bcbdca4e6da76fe3a9f1a4133ec5d in mainline linux


# 1.33 11-Apr-2022 jsg

drm/edid: check basic audio support on CEA extension block

From Cooper Chiou
6e72980d588e220adbc2469181735399ceb9f9a8 in linux 5.15.y/5.15.33
5662abf6e21338be6d085d6375d3732ac6147fd2 in mainline linux


Revision tags: OPENBSD_7_1_BASE
# 1.32 02-Mar-2022 jsg

drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.35 11-Apr-2022 jsg

drm/edid: Split deep color modes between RGB and YUV444

From Maxime Ripard
da491fc54e4e387419948840636df15f4a611ec4 in linux 5.15.y/5.15.33
4adc33f36d80489339f1b43dfeee96bb9ea8e459 in mainline linux


# 1.34 11-Apr-2022 jsg

drm/edid: Don't clear formats if using deep color

From Maxime Ripard
19da408ab41c984d49c55582b265645b964b6619 in linux 5.15.y/5.15.33
75478b3b393bcbdca4e6da76fe3a9f1a4133ec5d in mainline linux


# 1.33 11-Apr-2022 jsg

drm/edid: check basic audio support on CEA extension block

From Cooper Chiou
6e72980d588e220adbc2469181735399ceb9f9a8 in linux 5.15.y/5.15.33
5662abf6e21338be6d085d6375d3732ac6147fd2 in mainline linux


Revision tags: OPENBSD_7_1_BASE
# 1.32 02-Mar-2022 jsg

drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.32 02-Mar-2022 jsg

drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.31 14-Jan-2022 jsg

update drm to linux 5.15.14

new hardware support includes

Intel
ehl/Elkhart Lake (embedded)
jsl/Jasper Lake (atom)
rkl/Rocket Lake (desktop)

AMD
van gogh APU (gfx1033)
yellow carp / rembrandt APU (gfx1035?)
Ryzen 6000 APU
navy flounder / navi 22 (gfx1031)
RX 6700, RX 6700 XT, RX 6700M, RX 6800M, RX 6850M XT
dimgrey cavefish / navi 23 (gfx1032)
Pro W6600, Pro W6600M, RX 6600, RX 6600 XT, RX 6600M,
RX 6600S, RX 6650M, RX 6650M XT, RX 6700S, RX 6800S
beige goby / navi 24 (gfx1034)
RX 6500 XT, RX 6400, RX 6500M, RX 6300M

Thanks to the OpenBSD Foundation for sponsoring this work
niklas@ for helping with ttm and amdgpu and patrick@ for adapting
rockchip drm.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.30 20-Oct-2021 jsg

drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

From Douglas Anderson
a7b45024f66f9ec769e8dbb1a51ae83cd05929c7 in linux 5.10.y/5.10.75
97794170b696856483f74b47bfb6049780d2d3a0 in mainline linux


Revision tags: OPENBSD_7_0_BASE
# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.29 07-Jul-2021 jsg

update drm to linux 5.10.47

hardware support changes include
inteldrm: better support for tiger lake
amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus
amdgpu: support for cezanne "green sardine" ryzen 5000 apu

Thanks to the OpenBSD Foundation for sponsoring this work,
patrick@ for helping adapt rockchip drm, kettenis@ and mpi@
for uvm discussions and various testers.


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.28 10-Jun-2020 otto

Avoid out-of-bounds access when dumping (faulty) edid info; as seen
on my X1 6thg when it's docked. Root cause still to be determined.
ok kettenis@ jsg@


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.27 08-Jun-2020 jsg

update drm to linux 5.7

adds kernel support for
amdgpu: vega20, raven2, renoir, navi10, navi14
inteldrm: icelake, tigerlake

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping, patrick@ for helping adapt rockchip drm and many developers for
testing.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.26 11-May-2020 jsg

drm/edid: Fix off-by-one in DispID DTD pixel clock

From Ville Syrjala
85b1efa12a7fa209e0e3e254d6ea466c8ec3d083 in linux 4.19.y/4.19.121
6292b8efe32e6be408af364132f09572aed14382 in mainline linux


Revision tags: OPENBSD_6_7_BASE
# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.25 30-Oct-2019 jsg

drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux


Revision tags: OPENBSD_6_6_BASE
# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.24 27-Jul-2019 jsg

drm/edid: parse CEA blocks embedded in DisplayID

From Andres Rodriguez
66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61
e28ad544f462231d3fd081a7316339359efbb481 in mainline linux


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.23 30-Jun-2019 jsg

drm: add fallback override/firmware EDID modes workaround

From Jani Nikula
04757d0e37897cdfa59050157b9083d661bd099e in linux 4.19.y/4.19.53
48eaeb7664c76139438724d520a1ea4a84a3ed92 in mainline linux


# 1.22 30-Jun-2019 jsg

drm/edid: abstract override/firmware EDID retrieval

From Jani Nikula
29a6026624cde0a378ac4ebd2f697ee6d941adf9 in linux 4.19.y/4.19.53
56a2b7f2a39a8d4b16a628e113decde3d7400879 in mainline linux


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.21 11-Jun-2019 jsg

drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux


# 1.20 11-Jun-2019 jsg

drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.19 14-Apr-2019 jsg

Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 to
linux 4.19.34.

Adds support for more Intel hardware:
Broxton/Apollo Lake (was is_preliminary in 4.4)
Amber Lake (another Kaby Lake refresh)
Gemini Lake
Coffee Lake
Whiskey Lake
Cannon Lake (though no hardware with Intel graphics ever shipped)
Ice Lake (alpha support, hardware not released)

This does not add support for new radeon hardware on the AMD side as
newer radeons have a different kernel driver (amdgpu).

Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for
helping and a bunch of other developers for testing.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


# 1.18 28-Mar-2018 jsg

drm/edid: set ELD connector type in drm_edid_to_eld()

From Jani Nikula
b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123
1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux


Revision tags: OPENBSD_6_3_BASE
# 1.17 13-Mar-2018 jsg

drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA

From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.


Revision tags: OPENBSD_6_2_BASE
# 1.16 01-Jul-2017 kettenis

Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).

Tested by many.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.15 23-Sep-2015 kettenis

Update inteldrm to the code from Linux 3.14.52 (which corresponds to
commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y
branch of the linux-stable tree). This brings preliminary support for
the GPU on Intel's Broadwell CPUs. Don't expect these to work
perfectly yet. There are some remaining issues with older hardware as
well, but no significant regressions have been uncovered.

This also updates some of drm core code. The radeondrm code remains
based on Linux 3.8 with some minimal canges to adjust to changes in
the core drm APIs.

Joint effort with jsg@, who did the initial update of the relevant drm
core bits. Committing this early to make sure it gets more testing
and make it possible for others to help getting the remaining wrinkles
straightened out.


Revision tags: OPENBSD_5_8_BASE
# 1.14 18-Apr-2015 jsg

another round of reducing the diff to linux


# 1.13 18-Apr-2015 jsg

add and use module param macros


# 1.12 05-Apr-2015 kettenis

whitespace


Revision tags: OPENBSD_5_7_BASE
# 1.11 11-Feb-2015 jsg

Switch most printf style functions calls back to linux function names
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.


Revision tags: OPENBSD_5_6_BASE
# 1.10 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 1.9 09-Mar-2014 jsg

use linux style memory allocations in shared drm code


Revision tags: OPENBSD_5_5_BASE
# 1.8 22-Jan-2014 jsg

drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

From Rafal Milecki
f40ead76deb24bbb912c1791722f5ae6eabcc800 in ubuntu 3.8
49d45a31b71d7d9da74485922bdb63faf3dc9684 in mainline linux


# 1.7 22-Jan-2014 jsg

drm/edid: add quirk for Medion MD30217PG

From Alex Deucher
d0d012f66761701d9cda6b9e27bfbac9be766060 in ubuntu 3.8
118bdbd86b39dbb843155054021d2c59058f1e05 in mainline linux


# 1.6 02-Sep-2013 jsg

add static back to functions that originally had it
reduces the diff to linux


Revision tags: OPENBSD_5_4_BASE
# 1.5 03-Apr-2013 jsg

fix EDID detailed timing frame rate
from linux 3.8.5


# 1.4 03-Apr-2013 jsg

fix EDID detailed timing vsync parsing
from linux 3.8.5


# 1.3 30-Mar-2013 kettenis

Fix intel gmbus i2c code. Not all transactions were handled correctly, and
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to
handle SDVO yet though.


# 1.2 29-Mar-2013 jsg

release the i2c bus in the error paths of fetching an edid


# 1.1 18-Mar-2013 jsg

Significantly increase the wordlist for ddb hangman,
and update our device independent DRM code and the Intel DRM code
to be mostly in sync with Linux 3.8.3. Among other things this
brings support for kernel modesetting and enables use of
the rings on gen6+ Intel hardware.

Based on some earlier work from matthieu@ with some hints from FreeBSD
and with lots of help from kettenis@ (including a beautiful accelerated
wscons framebuffer console!)

Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.