Skip to contentSkip to conversation

drop matrox and r128 firmware

PATCH In review Peter Robinson 2 participants 2 messages Apr 19, 2023 – Apr 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drop matrox and r128 firmware

The matrox and r128 drivers were marked legacy 7 years ago, and put behind an appropriate Kconfig option at that time. They've been dropped from the upstream kernel as part of the 6.3 kernel release.

The firmwares are no longer referenced in the upstream kernel so can be removed. The upstream commits were:
96ed7db55bef ("drm: Remove the obsolete driver-mga") 28483b8666bf ("drm: Remove the obsolete driver-r128")

They of course still live on in git and older linux-firmware releases.

---
 WHENCE              |  63 --------------------------------------------
 matrox/g200_warp.fw | Bin 11214 -> 0 bytes
 matrox/g400_warp.fw | Bin 16790 -> 0 bytes
 r128/r128_cce.bin   | Bin 2048 -> 0 bytes
 4 files changed, 63 deletions(-)
 delete mode 100644 matrox/g200_warp.fw
 delete mode 100644 matrox/g400_warp.fw
 delete mode 100644 r128/r128_cce.bin
WHENCE +0 -63
index 033cbc93..d48646ec 100644
@@ -1563,69 +1563,6 @@ Licence: Redistributable. See LICENCE.atheros_firmware for details
 
 --------------------------------------------------------------------------
 
-Driver: mga - Matrox G200/G400/G550
-
-File: matrox/g200_warp.fw
-File: matrox/g400_warp.fw
-
-Licence:
-
-Copyright 1999 Matrox Graphics Inc.
-All Rights Reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the "Software"),
-to deal in the Software without restriction, including without limitation
-the rights to use, copy, modify, merge, publish, distribute, sublicense,
-and/or sell copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
-MATROX GRAPHICS INC., OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM,
-DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
-OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Found in hex form in kernel source.
-
---------------------------------------------------------------------------
-
-Driver: r128 - ATI Rage 128
-
-File: r128/r128_cce.bin
-
-Licence:
-
-Copyright 2000 Advanced Micro Devices, Inc.
-
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice (including the next
- * paragraph) shall be included in all copies or substantial portions of the
- * Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
-
-Found in decimal form in kernel source.
-
---------------------------------------------------------------------------
-
 Driver: radeon - ATI Radeon
 
 File: radeon/R100_cp.bin
matrox/g200_warp.fw deleted binary +0 -0
deleted file mode 100644
index 2c7f7fec396622ba946146721295e804fcceec65..0000000000000000000000000000000000000000
GIT binary patch
matrox/g400_warp.fw deleted binary +0 -0
deleted file mode 100644
index 57f1088e06fbc6bc64bc74b97edc32999a42eff1..0000000000000000000000000000000000000000
GIT binary patch
r128/r128_cce.bin deleted binary +0 -0
deleted file mode 100644
index 18b00b7b6555e063893b54326ae0e58be02a5c06..0000000000000000000000000000000000000000
GIT binary patch
Signature · 1 line
2.40.0
#1 lore raw
Quoted 5 lines · Peter Robinson

The matrox and r128 drivers were marked legacy 7 years ago, and put behind an appropriate Kconfig option at that time. They've been dropped from the upstream kernel as part of the 6.3 kernel release.

Quoted 8 lines

The firmwares are no longer referenced in the upstream kernel so can be removed. The upstream commits were:
96ed7db55bef ("drm: Remove the obsolete driver-mga") 28483b8666bf ("drm: Remove the obsolete driver-r128")

They of course still live on in git and older linux-firmware releases.

The drivers are still available in older LTS kernels, right? If so, I think we need to keep them active. Otherwise new linux-firmware distributions won't work on any existing LTS kernel installation that has those drivers enabled.

josh

Quoted 211 lines
---
 WHENCE              |  63 --------------------------------------------
 matrox/g200_warp.fw | Bin 11214 -> 0 bytes
 matrox/g400_warp.fw | Bin 16790 -> 0 bytes
 r128/r128_cce.bin   | Bin 2048 -> 0 bytes
 4 files changed, 63 deletions(-)
 delete mode 100644 matrox/g200_warp.fw
 delete mode 100644 matrox/g400_warp.fw
 delete mode 100644 r128/r128_cce.bin
WHENCE +0 -63
index 033cbc93..d48646ec 100644
@@ -1563,69 +1563,6 @@ Licence: Redistributable. See LICENCE.atheros_firmware for details
 
 --------------------------------------------------------------------------
 
-Driver: mga - Matrox G200/G400/G550
-
-File: matrox/g200_warp.fw
-File: matrox/g400_warp.fw
-
-Licence:
-
-Copyright 1999 Matrox Graphics Inc.
-All Rights Reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the "Software"),
-to deal in the Software without restriction, including without limitation
-the rights to use, copy, modify, merge, publish, distribute, sublicense,
-and/or sell copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
-MATROX GRAPHICS INC., OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM,
-DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
-OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Found in hex form in kernel source.
-
---------------------------------------------------------------------------
-
-Driver: r128 - ATI Rage 128
-
-File: r128/r128_cce.bin
-
-Licence:
-
-Copyright 2000 Advanced Micro Devices, Inc.
-
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice (including the next
- * paragraph) shall be included in all copies or substantial portions of the
- * Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
-
-Found in decimal form in kernel source.
-
---------------------------------------------------------------------------
-
 Driver: radeon - ATI Radeon
 
 File: radeon/R100_cp.bin
matrox/g200_warp.fw deleted binary +0 -0
deleted file mode 100644
index 2c7f7fec396622ba946146721295e804fcceec65..0000000000000000000000000000000000000000
GIT binary patch
matrox/g400_warp.fw deleted binary +0 -0
deleted file mode 100644
index 57f1088e06fbc6bc64bc74b97edc32999a42eff1..0000000000000000000000000000000000000000
GIT binary patch
r128/r128_cce.bin deleted binary +0 -1
deleted file mode 100644
index 18b00b7b6555e063893b54326ae0e58be02a5c06..0000000000000000000000000000000000000000
GIT binary patch
 
--

2.40.0