OpenBSD Journal

DRM updated, includes Broadwell support

Contributed by tj on from the good-kind-of-drm dept.

Mark Kettenis (kettenis@) has just committed a large update to the drm(4) graphics code, syncing with upstream Linux 3.14.52 and introducing Broadwell GPU support.
CVSROOT:	/cvs
Module name:	src
Changes by:	kettenis@cvs.openbsd.org	2015/09/23 17:12:12

Modified files:
	sys/dev/pci/drm: drm.h drmP.h drm_atomic.h drm_cache.c 
	                 drm_crtc.c drm_crtc.h drm_crtc_helper.c 
	                 drm_crtc_helper.h drm_dp_helper.c 
	                 drm_dp_helper.h drm_drv.c drm_edid.c drm_edid.h 
	                 drm_fb_helper.c drm_fb_helper.h drm_fixed.h 
	                 drm_global.c drm_hashtab.c drm_irq.c 
	                 drm_linux.h drm_linux_list.h drm_mm.c drm_mm.h 
	                 drm_modes.c files.drm i915_drm.h 
	sys/dev/pci/drm/i915: dvo.h dvo_ch7017.c dvo_ch7xxx.c dvo_ivch.c 
	                      dvo_ns2501.c dvo_sil164.c dvo_tfp410.c 
	                      i915_devlist.h i915_dma.c i915_drv.c 
	                      i915_drv.h i915_gem.c i915_gem_context.c 
	                      i915_gem_evict.c i915_gem_execbuffer.c 
	                      i915_gem_gtt.c i915_gem_tiling.c 
	                      i915_irq.c i915_reg.h i915_suspend.c 
	                      i915_trace.h intel_bios.c intel_bios.h 
	                      intel_crt.c intel_ddi.c intel_display.c 
	                      intel_dp.c intel_drv.h intel_dvo.c 
	                      intel_hdmi.c intel_i2c.c intel_lvds.c 
	                      intel_modes.c intel_opregion.c 
	                      intel_overlay.c intel_panel.c intel_pm.c 
	                      intel_ringbuffer.c intel_ringbuffer.h 
	                      intel_sdvo.c intel_sdvo_regs.h 
	                      intel_sprite.c intel_tv.c 
	sys/dev/pci/drm/radeon: atom.c radeon_display.c radeon_kms.c 
	                        radeon_legacy_encoders.c radeon_mode.h 
	                        radeon_pm.c 
	sys/dev/pci/drm/ttm: ttm_bo.c ttm_bo_manager.c 
Added files:
	sys/dev/pci/drm: drm_rect.c drm_rect.h i915_pciids.h 
	                 i915_powerwell.h linux_hdmi.c linux_hdmi.h 
	sys/dev/pci/drm/i915: i915_gem_stolen.c i915_gpu_error.c 
	                      intel_fbdev.c intel_sideband.c 
	                      intel_uncore.c 

Log message:
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 changes 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.

Users of newer laptops will be very happy to finally have this addition. As Mark says in the commit, there's still a bit of work to be done, but you can help test with -current snapshots. A big thanks to kettenis and jsg for their hard work!

(Comments are closed)


Comments
  1. By Anonymous Coward (93.38.36.235) on

    Thank you. Always first to implement new tech among all BSDs.

    Comments
    1. By BSDfan (91.241.33.66) on

      > Thank you. Always first to implement new tech among all BSDs.

      Well, NetBSD 7 has drm code (both Intel and Radeon) from Linux 3.15 and DragonFly 4.3 (development branch) has from Linux 3.17...

      Comments
      1. By phessler (phessler) on http://www.openbsdfoundation.org/donations.html

        > > Thank you. Always first to implement new tech among all BSDs.
        >
        > Well, NetBSD 7 has drm code (both Intel and Radeon) from Linux 3.15 and DragonFly 4.3 (development branch) has from Linux 3.17...

        I've heard reports from Dragonfly that it certainly works fine there. I haven't heard about NetBSD specific reports, though.

        I can confirm that it is mostly working on OpenBSD HEAD, though.

  2. By tweinbrenner (130.180.111.94) me@tweinbrenner.net on

    Is this already in last nights snapshot or do you have to wait for the next?

    Comments

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]