mbox series

[0/5] drm/gma500: Remove Moorestown/Medfield

Message ID 20210129095604.32423-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series drm/gma500: Remove Moorestown/Medfield | expand

Message

Thomas Zimmermann Jan. 29, 2021, 9:55 a.m. UTC
Support for Moorestown and Medfield platforms is being removed from
the kernel. So here's a patch to remove the related code from the
gma500 driver. On top of that I also cleaned up the configuration
a bit.

Note that Poulsbo and Cedartrail is still there and will remain. With
the MID platforms gone, there's actually a chance of cleaning up the
code for the desktop chips.

I smoke tested the patchset by running Xorg and Weston on a Cedartrail
system.

Thomas Zimmermann (5):
  drm/gma500: Remove Medfield support
  drm/gma500: Remove Moorestown support
  drm/gma500: Drop DRM_GMA3600 config option
  drm/gma500: Remove CONFIG_X86 conditionals from source files
  drm/gma500: Remove dependency on TTM

 drivers/gpu/drm/gma500/Kconfig                |   28 +-
 drivers/gpu/drm/gma500/Makefile               |   43 +-
 drivers/gpu/drm/gma500/cdv_intel_hdmi.c       |    4 -
 drivers/gpu/drm/gma500/framebuffer.c          |    2 +-
 drivers/gpu/drm/gma500/intel_gmbus.c          |    5 +-
 drivers/gpu/drm/gma500/mdfld_device.c         |  564 ---------
 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c        | 1017 -----------------
 drivers/gpu/drm/gma500/mdfld_dsi_dpi.h        |   79 --
 drivers/gpu/drm/gma500/mdfld_dsi_output.c     |  603 ----------
 drivers/gpu/drm/gma500/mdfld_dsi_output.h     |  377 ------
 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c |  679 -----------
 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h |   80 --
 drivers/gpu/drm/gma500/mdfld_intel_display.c  |  966 ----------------
 drivers/gpu/drm/gma500/mdfld_output.c         |   74 --
 drivers/gpu/drm/gma500/mdfld_output.h         |   76 --
 drivers/gpu/drm/gma500/mdfld_tmd_vid.c        |  197 ----
 drivers/gpu/drm/gma500/mdfld_tpo_vid.c        |   83 --
 drivers/gpu/drm/gma500/mid_bios.c             |  333 ------
 drivers/gpu/drm/gma500/mid_bios.h             |   10 -
 drivers/gpu/drm/gma500/mmu.c                  |   21 -
 drivers/gpu/drm/gma500/oaktrail.h             |  247 ----
 drivers/gpu/drm/gma500/oaktrail_crtc.c        |  663 -----------
 drivers/gpu/drm/gma500/oaktrail_device.c      |  567 ---------
 drivers/gpu/drm/gma500/oaktrail_hdmi.c        |  840 --------------
 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c    |  331 ------
 drivers/gpu/drm/gma500/oaktrail_lvds.c        |  423 -------
 drivers/gpu/drm/gma500/oaktrail_lvds_i2c.c    |  169 ---
 drivers/gpu/drm/gma500/psb_drv.c              |   82 +-
 drivers/gpu/drm/gma500/psb_drv.h              |  108 --
 drivers/gpu/drm/gma500/psb_intel_drv.h        |    6 -
 drivers/gpu/drm/gma500/psb_intel_lvds.c       |   14 +-
 drivers/gpu/drm/gma500/psb_intel_reg.h        |   28 +-
 drivers/gpu/drm/gma500/psb_intel_sdvo.c       |   20 +-
 drivers/gpu/drm/gma500/psb_irq.c              |   72 +-
 drivers/gpu/drm/gma500/psb_irq.h              |    2 -
 drivers/gpu/drm/gma500/psb_reg.h              |   14 -
 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c    |  805 -------------
 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.h    |   38 -
 38 files changed, 31 insertions(+), 9639 deletions(-)
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_device.c
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_dsi_dpi.h
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_dsi_output.c
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_dsi_output.h
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_intel_display.c
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_output.c
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_output.h
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_tmd_vid.c
 delete mode 100644 drivers/gpu/drm/gma500/mdfld_tpo_vid.c
 delete mode 100644 drivers/gpu/drm/gma500/mid_bios.c
 delete mode 100644 drivers/gpu/drm/gma500/mid_bios.h
 delete mode 100644 drivers/gpu/drm/gma500/oaktrail.h
 delete mode 100644 drivers/gpu/drm/gma500/oaktrail_crtc.c
 delete mode 100644 drivers/gpu/drm/gma500/oaktrail_device.c
 delete mode 100644 drivers/gpu/drm/gma500/oaktrail_hdmi.c
 delete mode 100644 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c
 delete mode 100644 drivers/gpu/drm/gma500/oaktrail_lvds.c
 delete mode 100644 drivers/gpu/drm/gma500/oaktrail_lvds_i2c.c
 delete mode 100644 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c
 delete mode 100644 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.h

--
2.30.0

Comments

Patrik Jakobsson Jan. 29, 2021, 10:46 a.m. UTC | #1
On Fri, Jan 29, 2021 at 10:56 AM Thomas Zimmermann <tzimmermann@suse.de> wrote:
>
> Support for Moorestown and Medfield platforms is being removed from
> the kernel. So here's a patch to remove the related code from the
> gma500 driver. On top of that I also cleaned up the configuration
> a bit.
>
> Note that Poulsbo and Cedartrail is still there and will remain. With
> the MID platforms gone, there's actually a chance of cleaning up the
> code for the desktop chips.
>
> I smoke tested the patchset by running Xorg and Weston on a Cedartrail
> system.

Hi Thomas,
It is correct that Moorestown platform support is removed in the
kernel but Oaktrail and Moorestown aren't interchangeable. They share
the same CPU/GPU but not platform. I still have an Oaktrail device
(Minnowboard v1) which needs to be supported. Medfield on the other
hand can go as far as I'm concerned.

I'll have a closer look at the patches this afternoon.

Thanks
Patrik
Thomas Zimmermann Jan. 29, 2021, 11:10 a.m. UTC | #2
Hi

Am 29.01.21 um 11:46 schrieb Patrik Jakobsson:
> On Fri, Jan 29, 2021 at 10:56 AM Thomas Zimmermann <tzimmermann@suse.de> wrote:
>>
>> Support for Moorestown and Medfield platforms is being removed from
>> the kernel. So here's a patch to remove the related code from the
>> gma500 driver. On top of that I also cleaned up the configuration
>> a bit.
>>
>> Note that Poulsbo and Cedartrail is still there and will remain. With
>> the MID platforms gone, there's actually a chance of cleaning up the
>> code for the desktop chips.
>>
>> I smoke tested the patchset by running Xorg and Weston on a Cedartrail
>> system.
> 
> Hi Thomas,
> It is correct that Moorestown platform support is removed in the
> kernel but Oaktrail and Moorestown aren't interchangeable. They share
> the same CPU/GPU but not platform. I still have an Oaktrail device
> (Minnowboard v1) which needs to be supported. Medfield on the other
> hand can go as far as I'm concerned.

I see. So patch 2 would have to be removed.

Best regards
Thomas

> 
> I'll have a closer look at the patches this afternoon.
> 
> Thanks
> Patrik
>