| 1.93 |
08-Nov-2025 |
hannken |
Disable undefined behavior sanitizer on intel_workarounds.c, I don't see a real bug here compiling kernel ALL/i386.
Maybe a GCC 14 bug?
|
| 1.92 |
19-Sep-2025 |
mrg |
avoid various seemingly bogus warnings with GCC 14.
i couldn't see any real case for any of these issues. it seems like the "maybe uninit" checker has gotten worse.
additionally, the "dangling pointer" checker also failing.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base thorpej-ifq-base thorpej-altq-separation-base
|
| 1.91 |
05-Sep-2023 |
mrg |
match warnings with the module build, fixes i386 with GCC 12.
|
| 1.90 |
03-Jun-2023 |
lukem |
adapt to ${CC_WNO_MAYBE_UNINITIALIZED}
Use ${CC_WNO_MAYBE_UNINITIALIZED} instead of the older style more complex expressions.
Remove workarounds if they were for a specific version of gcc < 10.
|
| 1.89 |
03-Jun-2023 |
lukem |
adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}
Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of the older style more complex expressions.
|
|
Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.88 |
19-Jul-2022 |
riastradh |
drm: Propagate CPPFLAGS.drmkms into all the drm drivers.
|
| 1.87 |
17-Jul-2022 |
riastradh |
i915: Remove spurious local i915_perf.c override.
|
| 1.86 |
27-Feb-2022 |
riastradh |
i915: Use new acpidisp_register_notify for ACPI VGA events.
|
| 1.85 |
21-Dec-2021 |
tnn |
drm: sprinkle some -Wno-unused-function for clang
915_sw_fence.c: for debug_fence_init_onstack drm_mm.c: for rb_hole_size_to_node intel_hdmi.c: for intel_hdmi_hdcp2_protocol intel_guc_submission.c: for rq_prio nouveau_nvkm_subdev_instmem_base.c: for fake_ioread32_native nouveau_nvkm_subdev_mmu_vmmnv04.c: for nv04_vmm_pgt_pte
|
| 1.84 |
19-Dec-2021 |
riastradh |
i915: Draft gem fault.
|
| 1.83 |
19-Dec-2021 |
riastradh |
i915: intel_engine_pm.c and i915_active.c
...with a little less heinous abuse of C, and an attempt to disentangle the tentacular abstraction violations rampant in these components
|
| 1.82 |
19-Dec-2021 |
riastradh |
i915: Disentangle uabi engines rb/llist/list spaghetti.
|
| 1.81 |
19-Dec-2021 |
riastradh |
i915: Odds & ends.
|
| 1.80 |
19-Dec-2021 |
riastradh |
i915: Define trace points
|
| 1.79 |
19-Dec-2021 |
riastradh |
Make intel_psr.c build netbsd-ify Stub out intel_lpe_audio.c (for now?). Hammer intel_opregion.c into shape. Hack up intel_lrc.c Adapt intel_reset.c Stub out intel_region_lmem.c Adapt intel_ring_submission.c Adapt intel_rps.c Adapt intel_sdvo.c Adapt intel_runtime_pm.c Adapt intel_sideband.c Adapt intel_sprite.c Adapt intel_tv.c Adapt intel_tc.c Adapt intel_sseu.c Adapt intel_timeline.c Adapt intel_uc_fw.c and fix typo Fix up intel_uncore.c intel_vga.c intel_wakeref.c intel_vdsc.c intel_wopcm.c intel_workarounds.c i915_globals.c Fix up intelfb.c Stub out intel_guc_log.c Stub out intel_dsi_dcs_backlight.c i915_perf.c intel_hdmi.c intel_hdcp.c
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.78 |
19-Dec-2021 |
riastradh |
i915: more work
|
| 1.77 |
19-Dec-2021 |
riastradh |
i915: more work
|
| 1.76 |
19-Dec-2021 |
riastradh |
i915: hack hack hack
|
| 1.75 |
19-Dec-2021 |
riastradh |
i915: more passes
|
| 1.74 |
19-Dec-2021 |
riastradh |
i915: another whack at it
|
| 1.73 |
19-Dec-2021 |
riastradh |
i915: More progress.
|
| 1.72 |
19-Dec-2021 |
riastradh |
i915: Odds and ends.
|
| 1.71 |
19-Dec-2021 |
riastradh |
i915: Adapt sw_fence.
|
| 1.70 |
19-Dec-2021 |
riastradh |
drm: Another pass over i915. Most of i915 gem builds now.
|
| 1.69 |
19-Dec-2021 |
riastradh |
i915_globals.c: don't build, not useful (we don't __init etc)
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.68 |
19-Dec-2021 |
riastradh |
drm/i915: Undo local i915_sw_fence override.
The code is now MIT-licensed, so we no longer need to rewrite it.
|
| 1.67 |
19-Dec-2021 |
riastradh |
drm/i915: Unhook i915_gem_client_blt.c and revert changes.
Only used by self-tests, which we're not using (for now...).
|
| 1.66 |
19-Dec-2021 |
riastradh |
i915: Disable i915_active.c for now; needs more work.
|
| 1.65 |
19-Dec-2021 |
riastradh |
i915: Touch up local i915_sw_fence stubs to make it compile.
|
| 1.64 |
19-Dec-2021 |
riastradh |
i915: Disable CONFIG_DRM_I915_DEBUG_RUNTIME_PM.
No runtime_pm at all here for now.
|
| 1.63 |
19-Dec-2021 |
riastradh |
Need to provide a value for CONFIG_DRM_I915_DEBUG_RUNTIME_PM
Maybe 1 will do.
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.62 |
19-Dec-2021 |
riastradh |
i915: Disable -Wmissing-field-initializers.
|
| 1.61 |
19-Dec-2021 |
riastradh |
i915: Fix include path for intelfb files too.
|
| 1.60 |
19-Dec-2021 |
riastradh |
define CONFIG values to be the same as linux
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.59 |
19-Dec-2021 |
riastradh |
Add include flag for intelfb.c's use of i915_drv.h header
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.58 |
19-Dec-2021 |
riastradh |
Revert part of previous: no separate CPPFLAGS.drmkms.
There are too many drms users outside sys/external/bsd/drm2 for now; will hold off on this until we find a better way to keep the drm includes modularized.
|
| 1.57 |
19-Dec-2021 |
riastradh |
Narrow the CPPFLAGS for drm subsystems.
No need for the whole kernel to be built with -I flags for the drm header files.
|
| 1.56 |
19-Dec-2021 |
riastradh |
Merge updated i915drmkms2netbsd output.
|
| 1.55 |
19-Dec-2021 |
riastradh |
Comment out debugfs files, we probably don't want those.
Author: Maya Rashish <maya@NetBSD.org>
|
| 1.54 |
19-Dec-2021 |
riastradh |
Remove duplicates and non-existent files.
Author: Maya Rashish <maya@NetBSD.org>
|
| 1.53 |
19-Dec-2021 |
riastradh |
misc drm hacks
|
| 1.52 |
19-Dec-2021 |
riastradh |
Disable the i915_oa_* files (for now?).
|
| 1.51 |
19-Dec-2021 |
riastradh |
The initializers with overrides got moved to i915_pci.c.
|
| 1.50 |
19-Dec-2021 |
riastradh |
Disable i915 alpha hardware support.
|
| 1.49 |
19-Dec-2021 |
riastradh |
i915_pci.c collides; rename ours to i915_pci_autoconf.c.
|
| 1.48 |
19-Dec-2021 |
riastradh |
Stub out i915_gemfs.c and i915_perf.c.
|
| 1.47 |
19-Dec-2021 |
riastradh |
i915_mm.c is of no use to us.
|
| 1.46 |
19-Dec-2021 |
riastradh |
First pass at i915, far from complete.
HEAVILY MODIFIED IN MERGE - maya
|
| 1.45 |
19-Dec-2021 |
riastradh |
Rename intel_dsi.c -> vlv_dsi.c
|
| 1.44 |
19-Dec-2021 |
riastradh |
Stub i915_sw_fence.c.
|
| 1.43 |
19-Dec-2021 |
riastradh |
Disable *_trace_points.c.
I accidentally deleted these in the import, because the *_trace.h files got in the way and I forgot the *_trace_points.c files were fine.
There's nothing important in them anyway, so nothing of value is lost. Maybe next time I will remember to delete the *_trace.h files on import but not the *_trace_points.c to reduce diffs, but that's too much trouble at this point.
|
| 1.42 |
19-Dec-2021 |
riastradh |
Generate files.* using the 2netbsd scripts.
Author: Maya Rashish <maya@NetBSD.org>
|
|
Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 thorpej-i2c-spi-conf-base
|
| 1.41 |
02-Jun-2021 |
nia |
drm2: build with -fwrapv, since the Linux kernel does and we don't want to spend too much time fixing their code. silences a lot of KUBSAN warnings.
we need to use COPTS to have per-option compiler flags. help from Riastradh.
|
|
Revision tags: cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-cfargs-base
|
| 1.40 |
13-Apr-2021 |
mrg |
branches: 1.40.2; 1.40.6; apply some -Wno- to ignore several new warnings with GCC 10.
ntp: ignore truncation beyond api sizes, and ignore wrongly guessed underflow
tmux: ignore maybe uninitialised warning for impossible case
libbfd: signed/unsigned variables assigned in the same statement
dri/gallium: -Wno-builtin-declaration-mismatch for u_atomic.c as it implements backend functions with different in-C-machine but same-in-real-machine types
libXfont/libXfont2: signed/unsigned variables assigned in the same statement
i915drm: ignore impossible maybe uninitialised warnings
sysinst: ignore an invalid string truncation issue
|
|
Revision tags: thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
|
| 1.39 |
14-Feb-2020 |
riastradh |
branches: 1.39.8; Eliminate -Wpointer-arith patches; use -Wno-pointer-arith instead.
|
|
Revision tags: ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
|
| 1.38 |
30-Sep-2019 |
mrg |
branches: 1.38.2; convert HAVE_GCC == 7 to HAVE_GCC >= 7.
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
| 1.37 |
04-Feb-2019 |
mrg |
add -Wno-error=int-in-bool-context or -Wno-error=implicit-fallthrough for various drm files that would be best ignored or upstream fixed. (could fix savagedrm, no one upstream is that any more.)
|
| 1.36 |
27-Jan-2019 |
kre |
Fix merge botch.
|
| 1.35 |
27-Jan-2019 |
pgoyette |
Merge the [pgoyette-compat] branch
|
|
Revision tags: pgoyette-compat-20190127
|
| 1.34 |
19-Jan-2019 |
dholland |
i915drmkms requires firmload. PR 53892
|
|
Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930
|
| 1.33 |
21-Sep-2018 |
kamil |
Appease GCC with a kernel sanitizer
Add -Wno-maybe-uninitialized for intel_sprite.c that is a false positive.
|
|
Revision tags: pgoyette-compat-0906
|
| 1.32 |
27-Aug-2018 |
riastradh |
Tag files.* with newer config version where needed.
|
| 1.31 |
27-Aug-2018 |
riastradh |
Draft support for drm prime.
|
| 1.30 |
27-Aug-2018 |
riastradh |
Put override directory first in CPPFLAGS.
|
| 1.29 |
27-Aug-2018 |
riastradh |
Move CPPFLAGS to top, CWARNFLAGS below.
|
| 1.28 |
27-Aug-2018 |
riastradh |
Omit commented warn flag, evidently needless.
|
| 1.27 |
27-Aug-2018 |
riastradh |
Stub out intel_dsi_init.
|
| 1.26 |
27-Aug-2018 |
riastradh |
Ifdef out Linux audio API stuff and re-enable intel_audio.c.
|
| 1.25 |
27-Aug-2018 |
riastradh |
Override i915_gem_userptr.c with stubs for now.
|
| 1.24 |
27-Aug-2018 |
riastradh |
Restore intel_fbdev.c.
|
| 1.23 |
27-Aug-2018 |
riastradh |
Disable mipi dsi stuff until I can figure it out.
|
| 1.22 |
27-Aug-2018 |
riastradh |
Just do all of i915drmkms with -Wno-shadow.
|
| 1.21 |
27-Aug-2018 |
riastradh |
Disable intel_audio.c until we figure out how to make it talk to hdaudio.
|
| 1.20 |
27-Aug-2018 |
riastradh |
i915_gem_gtt.c shadows.
|
| 1.19 |
27-Aug-2018 |
riastradh |
Override i915_sysfs.c.
|
| 1.18 |
27-Aug-2018 |
riastradh |
Allow shadowing in i915_vgpu.c.
|
| 1.17 |
27-Aug-2018 |
riastradh |
i915_gpu_error.c shadows, don't worry about it.
|
| 1.16 |
27-Aug-2018 |
riastradh |
Don't worry about shadowing here.
|
| 1.15 |
27-Aug-2018 |
riastradh |
Think we're gonna need to override i915_gem_userptr.c.
|
| 1.14 |
27-Aug-2018 |
riastradh |
bring in old drm changes
ifdef out some fb_info usage which we don't have and some of it ifdef'd out in old drm
strangely reg_offset isn't used in the i2c whatever-thing
we need one more member to drm_fb_helper
define CONFIG_DRM_FBDEV_EMULATION so hopefully fewer redefinitions
Author: coypu <coypu@sdf.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.13 |
27-Aug-2018 |
riastradh |
regen files.i915drmkms
|
| 1.12 |
27-Aug-2018 |
riastradh |
Move local i915 files earlier to make them more obvious.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921
|
| 1.11 |
20-Aug-2015 |
skrll |
branches: 1.11.16; 1.11.18; Tweak IS_ENABLED to allow CONFIG_FOO values.
No functional change to drm2.
LGTM from riastradh@
|
|
Revision tags: nick-nhusb-base-20150606 nick-nhusb-base-20150406
|
| 1.10 |
05-Mar-2015 |
riastradh |
Factor generic parts of intelfb out into a drmfb.
Adapting radeondrmkmsfb should not be hard.
This will make nouveaufb easier too.
|
|
Revision tags: nick-nhusb-base
|
| 1.9 |
14-Nov-2014 |
joerg |
branches: 1.9.2; Fix build with clang.
|
| 1.8 |
05-Nov-2014 |
nonaka |
i915drmkms(4): Enable CONFIG_ACPI if NACPICA > 0. Now brightness can be adjusted via hotkey on Mouse Computer LB-J300X (Clevo W330SU2).
|
| 1.7 |
02-Nov-2014 |
christos |
We need the i810 agp here, intel_gtt has it hard-coded.
|
| 1.6 |
18-Aug-2014 |
riastradh |
branches: 1.6.2; Restore Intel opregion stuff.
|
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
| 1.5 |
26-Jul-2014 |
riastradh |
branches: 1.5.2; Move CONFIG_X86 from files.i915drmkms to drm_os_netbsd.h.
|
| 1.4 |
24-Jul-2014 |
riastradh |
Rework Intel framebuffer attachment.
Turns out genfb_softc must be at the start of its own device_private, so we can't have it in the middle of a structure, and certainly can't have potentially multiple genfbs per graphics device. Failing to do this is why entering ddb didn't work with an i915drmkms console.
Instead of putting a genfb_softc into each drm_fb_helper, put a device_t into each drm_fb_helper and create a new intelfb(4) device for each Intel framebuffer. This will be more flexible, too, in case we want accelerated framebuffers later on. (XXX Need to adapt the radeon code, which I'm disabling until that happens to avoid breaking the build.)
While here, defer disabling VGA, vga_cndetach, and genfb_attach until we're actually ready to do them all together along with the mode switch. This should reduce the amount of time during which the screen is blanked, in case it hangs.
|
| 1.3 |
16-Jul-2014 |
riastradh |
Make it build and boot on my test machines.
Screen blanks on boot on the Ivy Bridge system with
DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun
But after that everything is OK. Appears to be an upstream problem. To investigate...
I think there's a cache flushing issue somewhere -- there are little display artefacts on my T60.
|
|
Revision tags: rmind-smpnet-base rmind-smpnet-nbase yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
|
| 1.2 |
18-Mar-2014 |
riastradh |
branches: 1.2.2; 1.2.4; 1.2.6; Merge riastradh-drm2 to HEAD.
|
|
Revision tags: riastradh-drm2-base3
|
| 1.1 |
04-Mar-2014 |
riastradh |
branches: 1.1.2; file files.i915drmkms was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base tls-maxphys-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-base rmind-smpnet-nbase
|
| 1.1 |
24-Jul-2013 |
riastradh |
branches: 1.1.2; file i915_gem.c was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base tls-maxphys-base tls-earlyentropy-base
|
| 1.16 |
16-Jul-2014 |
riastradh |
Make it build and boot on my test machines.
Screen blanks on boot on the Ivy Bridge system with
DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun
But after that everything is OK. Appears to be an upstream problem. To investigate...
I think there's a cache flushing issue somewhere -- there are little display artefacts on my T60.
|
| 1.15 |
03-Jun-2014 |
riastradh |
Rework gen6 aperture/gtt size detection. Mark variables __diagused.
|
| 1.14 |
29-May-2014 |
riastradh |
Work around broken GTT size detection in agp_i810 code.
This will do until I work out the twisty maze of registers, all different, to reliably determine the size of the GTT (and hence the GPU's virtual address space) separately from the size of the AGP aperture.
|
| 1.13 |
28-May-2014 |
riastradh |
Fix bogus GTT total size calculation. Omit gtt_bsh for `agp' gtt.
|
| 1.12 |
23-May-2014 |
riastradh |
Fix GTT PTE flag bits.
|
| 1.11 |
20-May-2014 |
riastradh |
branches: 1.11.2; Miscellaneous little fixes for harmless issues:
- Fix sense of subtraction in i915_gem_restore_gtt_mappings (not currently used, so this was harmless).
- Program gtt->gtt_scratch_map->dm_segs[0].ds_addr rather than gtt->gtt_scratch_seg.ds_addr into the GTT for consistency with the bus_dma API. These are currently the same, but if we ever start using x86 iommu perhaps that may change.
- Kassert that the scratch PTE decodes into the scratch address.
|
| 1.10 |
19-May-2014 |
riastradh |
Remove (bad) debugging message that crept into i915_gem_gtt_init.
|
| 1.9 |
19-May-2014 |
riastradh |
Fix page/byte sense of AGP GTT parameter calculations.
|
| 1.8 |
19-May-2014 |
riastradh |
Use correct value for gtt->gtt_bsh in agp case (unused, so harmless).
|
| 1.7 |
19-May-2014 |
riastradh |
Use the scratch page, not zero, to clear ggtt entries for gen<6.
|
|
Revision tags: rmind-smpnet-base rmind-smpnet-nbase
|
| 1.6 |
14-May-2014 |
riastradh |
branches: 1.6.2; Tweak i915 gen6_gtt_init calculations for clarity.
|
|
Revision tags: yamt-pagecache-base9
|
| 1.5 |
02-May-2014 |
riastradh |
Cast from uint32_t to bus_addr_t earlier, since it may exceed 32 bits.
|
| 1.4 |
01-May-2014 |
riastradh |
Clear only the requested range in gen6_ggtt_clear_range.
Sprinkle kasserts throughout i915_gem_gtt.c.
|
| 1.3 |
03-Apr-2014 |
riastradh |
branches: 1.3.2; Miscellaneous fixes for drm2 on i386.
|
|
Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
|
| 1.2 |
18-Mar-2014 |
riastradh |
Merge riastradh-drm2 to HEAD.
|
|
Revision tags: riastradh-drm2-base3
|
| 1.1 |
08-Sep-2013 |
riastradh |
branches: 1.1.2; file i915_gem_gtt.c was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.5 |
19-Dec-2021 |
riastradh |
i915: Initialize userptr wq for now. Should wire this up for real!
|
| 1.4 |
19-Dec-2021 |
riastradh |
drm: Another pass over i915. Most of i915 gem builds now.
|
| 1.3 |
19-Dec-2021 |
riastradh |
../dist/drm/i915/gem/i915_gem_ioctls.h for i915_gem_userptr_ioctl prototype
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.2 |
19-Dec-2021 |
riastradh |
Update i915_gem_init_userptr signature.
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
| 1.1 |
27-Aug-2018 |
riastradh |
branches: 1.1.2; 1.1.6; Override i915_gem_userptr.c with stubs for now.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.2 |
19-Dec-2021 |
riastradh |
Change local drm files include path to match upstream changes.
Author: Maya Rashish <maya@NetBSD.org>
|
| 1.1 |
19-Dec-2021 |
riastradh |
Stub out i915_gemfs.c and i915_perf.c.
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base tls-maxphys-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-base rmind-smpnet-nbase
|
| 1.1 |
24-Jul-2013 |
riastradh |
branches: 1.1.2; file i915_irq.c was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.19 |
17-Jul-2022 |
riastradh |
i915: Omit needless i915_global_buddy_init declaration.
|
| 1.18 |
27-Feb-2022 |
riastradh |
i915: Use new acpidisp_register_notify for ACPI VGA events.
|
| 1.17 |
19-Dec-2021 |
riastradh |
Make intel_psr.c build netbsd-ify Stub out intel_lpe_audio.c (for now?). Hammer intel_opregion.c into shape. Hack up intel_lrc.c Adapt intel_reset.c Stub out intel_region_lmem.c Adapt intel_ring_submission.c Adapt intel_rps.c Adapt intel_sdvo.c Adapt intel_runtime_pm.c Adapt intel_sideband.c Adapt intel_sprite.c Adapt intel_tv.c Adapt intel_tc.c Adapt intel_sseu.c Adapt intel_timeline.c Adapt intel_uc_fw.c and fix typo Fix up intel_uncore.c intel_vga.c intel_wakeref.c intel_vdsc.c intel_wopcm.c intel_workarounds.c i915_globals.c Fix up intelfb.c Stub out intel_guc_log.c Stub out intel_dsi_dcs_backlight.c i915_perf.c intel_hdmi.c intel_hdcp.c
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.16 |
19-Dec-2021 |
riastradh |
i915: Odds and ends.
|
| 1.15 |
19-Dec-2021 |
riastradh |
i915: Adapt sw_fence.
|
| 1.14 |
19-Dec-2021 |
riastradh |
drm: Another pass over i915. Most of i915 gem builds now.
|
| 1.13 |
19-Dec-2021 |
riastradh |
drm/i915: Unhook i915_gem_client_blt.c and revert changes.
Only used by self-tests, which we're not using (for now...).
|
| 1.12 |
19-Dec-2021 |
riastradh |
i915: machete
|
| 1.11 |
19-Dec-2021 |
riastradh |
i915: Call i915_global_buddy_init from i915 module init.
|
| 1.10 |
19-Dec-2021 |
riastradh |
Remove last users of drmP.h.
|
| 1.9 |
19-Dec-2021 |
riastradh |
No more load-time hacking of the struct drm_driver structure, yay!
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
| 1.8 |
28-Aug-2018 |
riastradh |
Move decl of drm_guarantee_initialized to drmP.h.
|
| 1.7 |
28-Aug-2018 |
riastradh |
Eliminate drm_pci_init/exit. Empty for a while, no need.
|
| 1.6 |
27-Aug-2018 |
riastradh |
Fix definition and initialization of mchdev_lock.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base
|
| 1.5 |
12-Nov-2014 |
christos |
branches: 1.5.18; 1.5.20; prettify and add to all the modules that have it.
|
| 1.4 |
12-Nov-2014 |
christos |
Add __link_set based code to automatically convert the linux module parameters into sysctls.
|
|
Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
| 1.3 |
16-Jul-2014 |
riastradh |
branches: 1.3.2; 1.3.4; Make it build and boot on my test machines.
Screen blanks on boot on the Ivy Bridge system with
DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun
But after that everything is OK. Appears to be an upstream problem. To investigate...
I think there's a cache flushing issue somewhere -- there are little display artefacts on my T60.
|
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-base rmind-smpnet-nbase
|
| 1.2 |
18-Mar-2014 |
riastradh |
branches: 1.2.2; 1.2.4; 1.2.6; Merge riastradh-drm2 to HEAD.
|
|
Revision tags: riastradh-drm2-base3
|
| 1.1 |
24-Jul-2013 |
riastradh |
branches: 1.1.2; file i915_module.c was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base
|
| 1.22 |
19-Dec-2021 |
riastradh |
i915_pci.c collides; rename ours to i915_pci_autoconf.c.
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
| 1.21 |
27-Aug-2018 |
riastradh |
Call i915_drm_suspend_late too.
|
| 1.20 |
27-Aug-2018 |
riastradh |
Call linux_pci_dev_destroy on detach.
|
| 1.19 |
27-Aug-2018 |
riastradh |
Pass the parent explicitly to linux_pci_dev_init.
This will allow us to use it in match routines.
|
| 1.18 |
27-Aug-2018 |
riastradh |
Move linux_pci_dev_init into callers of drm_pci_attach.
The order in nouveau has to be
- linux_pci_dev_init - nvkm_device_pci_new - rest of drm_pci_attach
|
| 1.17 |
27-Aug-2018 |
riastradh |
i915 needs firmware now too, so defer to mountroot.
|
| 1.16 |
27-Aug-2018 |
riastradh |
Attempt to hook up i915 suspend/resume callbacks.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
| 1.15 |
24-Jul-2014 |
riastradh |
branches: 1.15.4; 1.15.28; 1.15.30; Tweak i915drmkms_detach to be more robust.
|
| 1.14 |
24-Jul-2014 |
riastradh |
Rework Intel framebuffer attachment.
Turns out genfb_softc must be at the start of its own device_private, so we can't have it in the middle of a structure, and certainly can't have potentially multiple genfbs per graphics device. Failing to do this is why entering ddb didn't work with an i915drmkms console.
Instead of putting a genfb_softc into each drm_fb_helper, put a device_t into each drm_fb_helper and create a new intelfb(4) device for each Intel framebuffer. This will be more flexible, too, in case we want accelerated framebuffers later on. (XXX Need to adapt the radeon code, which I'm disabling until that happens to avoid breaking the build.)
While here, defer disabling VGA, vga_cndetach, and genfb_attach until we're actually ready to do them all together along with the mode switch. This should reduce the amount of time during which the screen is blanked, in case it hangs.
|
| 1.13 |
23-Jul-2014 |
riastradh |
Omit redundant vga_is_console test.
This was a copypasta error -- before it tested iot then memt -- but I see no evidence that passing memt to vga_is_console is ever sensible.
|
| 1.12 |
16-Jul-2014 |
riastradh |
Get suspend/resume sorta working for i915drm.
|
| 1.11 |
16-Jul-2014 |
riastradh |
Make it build and boot on my test machines.
Screen blanks on boot on the Ivy Bridge system with
DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun
But after that everything is OK. Appears to be an upstream problem. To investigate...
I think there's a cache flushing issue somewhere -- there are little display artefacts on my T60.
|
| 1.10 |
13-Jul-2014 |
mlelstv |
The vga driver now detaches wscons.
|
| 1.9 |
01-Jul-2014 |
riastradh |
Implement i915drmkms wsdisplay blank/backlight/brightness controls.
|
|
Revision tags: yamt-pagecache-base9 rmind-smpnet-base rmind-smpnet-nbase
|
| 1.8 |
25-Apr-2014 |
riastradh |
branches: 1.8.2; 1.8.4; Take the console only from vga or generic genfb.
Adapted from a patch by nonaka@ in PR 48705.
While here, attach i915 genfb earlier as in PR 48706.
|
| 1.7 |
06-Apr-2014 |
riastradh |
Restore is_console=1 for i915, even if I keep it off for debugging.
|
| 1.6 |
06-Apr-2014 |
riastradh |
Add missing declaration from last commit.
|
| 1.5 |
04-Apr-2014 |
riastradh |
branches: 1.5.2; Tweak i915 framebuffer attachment in preparation for detach/reconfig.
Can't do this yet because genfb can't detach or reconfigure...
|
| 1.4 |
03-Apr-2014 |
riastradh |
Miscellaneous fixes for drm2 on i386.
|
| 1.3 |
03-Apr-2014 |
riastradh |
Make i915drmkms grab the console by default.
|
|
Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
|
| 1.2 |
18-Mar-2014 |
riastradh |
Merge riastradh-drm2 to HEAD.
|
|
Revision tags: riastradh-drm2-base3
|
| 1.1 |
24-Jul-2013 |
riastradh |
branches: 1.1.2; file i915_pci.c was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.2 |
18-Jul-2022 |
riastradh |
drm: Simplify async framebuffer child task attachment logic.
No need for scheduling the task to fail. Nix needless error branches.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
| 1.1 |
24-Jul-2014 |
riastradh |
branches: 1.1.2; 1.1.6; Rework Intel framebuffer attachment.
Turns out genfb_softc must be at the start of its own device_private, so we can't have it in the middle of a structure, and certainly can't have potentially multiple genfbs per graphics device. Failing to do this is why entering ddb didn't work with an i915drmkms console.
Instead of putting a genfb_softc into each drm_fb_helper, put a device_t into each drm_fb_helper and create a new intelfb(4) device for each Intel framebuffer. This will be more flexible, too, in case we want accelerated framebuffers later on. (XXX Need to adapt the radeon code, which I'm disabling until that happens to avoid breaking the build.)
While here, defer disabling VGA, vga_cndetach, and genfb_attach until we're actually ready to do them all together along with the mode switch. This should reduce the amount of time during which the screen is blanked, in case it hangs.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base
|
| 1.14 |
15-Oct-2022 |
riastradh |
i915: Suspend ioctls while device is suspended.
|
|
Revision tags: bouyer-sunxi-drm-base
|
| 1.13 |
22-Sep-2022 |
riastradh |
i915: Make sure to call i915_drm_prepare too on suspend.
|
| 1.12 |
18-Jul-2022 |
riastradh |
drm: Simplify async framebuffer child task attachment logic.
No need for scheduling the task to fail. Nix needless error branches.
|
| 1.11 |
20-Dec-2021 |
riastradh |
i915: Mark a KASSERT-only variable __diagused.
Minor KNF fix while here.
|
| 1.10 |
19-Dec-2021 |
riastradh |
drm: Rework attach/detach and deferred task logic.
- Reduce the number of states the softc can be in. - Fix races between attach and other threads.
|
| 1.9 |
19-Dec-2021 |
riastradh |
i915: Omit needless reachover of i915_drm_driver.
|
| 1.8 |
19-Dec-2021 |
riastradh |
i915: Nix drm_dev_alloc, and do drm_pci_attach in i915_driver_probe.
i915 uses a struct drm_device embedded in struct drm_i915_private now, so we can't allocate it separately.
|
| 1.7 |
19-Dec-2021 |
riastradh |
drm: Omit needless pci_attach_args from our drm_pci_attach.
Can already get it from the struct pci_dev, and this way we can more easily call it from patched upstream code as i915 will need to do.
|
| 1.6 |
19-Dec-2021 |
riastradh |
Return pci_device_t from match so we can call i915_driver_probe
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.5 |
19-Dec-2021 |
riastradh |
drm: Another pass over i915. Most of i915 gem builds now.
|
| 1.4 |
19-Dec-2021 |
riastradh |
Split drm_dev_alloc/register out of drm_pci_attach.
Needed by nouveau which needs to do
drm_dev_alloc drm_pci_attach nouveau_drm_device_init drm_dev_register
|
| 1.3 |
19-Dec-2021 |
riastradh |
Remove last users of drmP.h.
|
| 1.2 |
19-Dec-2021 |
riastradh |
Reflect rename IS_PRELIMINARY_HW -> IS_ALPHA_SUPPORT.
|
| 1.1 |
19-Dec-2021 |
riastradh |
i915_pci.c collides; rename ours to i915_pci_autoconf.c.
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base
|
| 1.3 |
17-Jul-2022 |
riastradh |
i915: Remove spurious local i915_perf.c override.
|
| 1.2 |
19-Dec-2021 |
riastradh |
Fix copypasto.
|
| 1.1 |
19-Dec-2021 |
riastradh |
Stub out i915_gemfs.c and i915_perf.c.
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base
|
| 1.2 |
19-Dec-2021 |
riastradh |
drm/i915: Undo local i915_sw_fence override.
The code is now MIT-licensed, so we no longer need to rewrite it.
|
| 1.1 |
19-Dec-2021 |
riastradh |
Stub i915_sw_fence.c.
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base
|
| 1.5 |
19-Dec-2021 |
riastradh |
drm/i915: Undo local i915_sw_fence override.
The code is now MIT-licensed, so we no longer need to rewrite it.
|
| 1.4 |
19-Dec-2021 |
riastradh |
i915: Touch up local i915_sw_fence stubs to make it compile.
|
| 1.3 |
19-Dec-2021 |
riastradh |
Add some more stub i915_sw_fence prototypes.
|
| 1.2 |
19-Dec-2021 |
riastradh |
Add i915_sw_fence_await_sw_fence_gfp stub declaration.
|
| 1.1 |
19-Dec-2021 |
riastradh |
Stub i915_sw_fence.c.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.1 |
19-Dec-2021 |
riastradh |
i915: More progress.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.4 |
19-Dec-2021 |
riastradh |
i915: More progress.
|
| 1.3 |
19-Dec-2021 |
riastradh |
Update i915_setup/teardown_sysfs prototypes.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base tls-maxphys-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-base rmind-smpnet-nbase
|
| 1.2 |
18-Mar-2014 |
riastradh |
branches: 1.2.4; 1.2.6; 1.2.10; Merge riastradh-drm2 to HEAD.
|
|
Revision tags: riastradh-drm2-base3
|
| 1.1 |
24-Jul-2013 |
riastradh |
branches: 1.1.2; file i915_sysfs.c was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.1 |
19-Dec-2021 |
riastradh |
i915: Define trace points
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| 1.4 |
02-Jul-2024 |
riastradh |
i915: Update i915drmkms2netbsd to prepare for new import.
|
|
Revision tags: netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.3 |
19-Dec-2021 |
riastradh |
branches: 1.3.10; Break down and use gmake for i915drmkms2netbsd too.
Author: Maya Rashish <maya@NetBSD.org>
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
| 1.2 |
27-Aug-2018 |
riastradh |
branches: 1.2.2; 1.2.6; Restore intel_fbdev.c.
|
| 1.1 |
27-Aug-2018 |
riastradh |
Scripts to generate radeon and intel file lists.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.1 |
19-Dec-2021 |
riastradh |
i915: Add missing stub file.
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base
|
| 1.3 |
19-Dec-2021 |
riastradh |
Rename intel_dsi.c -> vlv_dsi.c
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
| 1.2 |
27-Aug-2018 |
riastradh |
branches: 1.2.2; 1.2.6; Use dtrace probes to implement i915_trace.h.
|
| 1.1 |
27-Aug-2018 |
riastradh |
Stub out intel_dsi_init.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.1 |
19-Dec-2021 |
riastradh |
Make intel_psr.c build netbsd-ify Stub out intel_lpe_audio.c (for now?). Hammer intel_opregion.c into shape. Hack up intel_lrc.c Adapt intel_reset.c Stub out intel_region_lmem.c Adapt intel_ring_submission.c Adapt intel_rps.c Adapt intel_sdvo.c Adapt intel_runtime_pm.c Adapt intel_sideband.c Adapt intel_sprite.c Adapt intel_tv.c Adapt intel_tc.c Adapt intel_sseu.c Adapt intel_timeline.c Adapt intel_uc_fw.c and fix typo Fix up intel_uncore.c intel_vga.c intel_wakeref.c intel_vdsc.c intel_wopcm.c intel_workarounds.c i915_globals.c Fix up intelfb.c Stub out intel_guc_log.c Stub out intel_dsi_dcs_backlight.c i915_perf.c intel_hdmi.c intel_hdcp.c
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base tls-maxphys-base tls-earlyentropy-base
|
| 1.3 |
16-Jul-2014 |
riastradh |
Make it build and boot on my test machines.
Screen blanks on boot on the Ivy Bridge system with
DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun
But after that everything is OK. Appears to be an upstream problem. To investigate...
I think there's a cache flushing issue somewhere -- there are little display artefacts on my T60.
|
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-base rmind-smpnet-nbase
|
| 1.2 |
18-Mar-2014 |
riastradh |
branches: 1.2.2; 1.2.4; 1.2.6; Merge riastradh-drm2 to HEAD.
|
|
Revision tags: riastradh-drm2-base3
|
| 1.1 |
24-Jul-2013 |
riastradh |
branches: 1.1.2; file intel_fb.c was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base
|
| 1.14 |
19-Dec-2021 |
riastradh |
i915: more work
|
| 1.13 |
19-Dec-2021 |
riastradh |
i915: ggtt
|
| 1.12 |
19-Dec-2021 |
riastradh |
Update intel gtt API.
TODO: Find where the stolen memory base is in agp_i810.
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
| 1.11 |
27-Aug-2018 |
riastradh |
Convert to uintmax_t if we're going to use %jx.
|
| 1.10 |
27-Aug-2018 |
riastradh |
Linux uses uint64 for these parameters now, so follow suit.
|
| 1.9 |
27-Aug-2018 |
riastradh |
Cope with multi-page segments.
|
| 1.8 |
27-Aug-2018 |
riastradh |
Call it intel_gtt_insert_sg_entries for expedience.
It uses a bus_dmamap, not a Linux scatterlist a.k.a. sg, but otherwise it functions the same way and this avoids patching upstream.
|
| 1.7 |
27-Aug-2018 |
riastradh |
Restore gtt page table control register on resume.
Additional subroutine agp_i810_reset is used by i915drmkms to make sure it happens early enough, since i915drmkms resumes before agp.
XXX pullup-7 XXX pullup-8
|
| 1.6 |
06-Aug-2018 |
riastradh |
Flush chipset writes after GGTT update.
Echoes Linux commit:
commit 8516673a996870ea0ceb337ee4f83c33c5ec3111 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Dec 8 21:46:16 2017 +0000
agp/intel: Flush all chipset writes after updating the GGTT
Before accessing the GGTT we must flush the PTE writes and make them visible to the chipset, or else the indirect access may end up in the wrong page. In commit 3497971a71d8 ("agp/intel: Flush chipset writes after updating a single PTE"), we noticed corruption of the uploads for pwrite and for capturing GPU error states, but it was presumed that the explicit calls to intel_gtt_chipset_flush() were sufficient for the execbuffer path. However, we have not been flushing the chipset between the PTE writes and access via the GTT itself.
For simplicity, do the flush after any PTE update rather than try and batch the flushes on a just-in-time basis.
References: 3497971a71d8 ("agp/intel: Flush chipset writes after updating a single PTE") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Mika Kuoppala <mika.kuoppala@intel.com> Cc: drm-intel-fixes@lists.freedesktop.org Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171208214616.30147-1-chris@chris-wilson.co.uk
XXX pullup
|
|
Revision tags: pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606 nick-nhusb-base-20150406
|
| 1.5 |
06-Mar-2015 |
riastradh |
branches: 1.5.10; 1.5.16; 1.5.18; Pass cache-related flags through to the GTT on pre-SNB devices.
I had assumed for ages this would increase the amount of caching and thereby increase the chance of stale caches leading to rendering glitches. But apparently I was wrong, and failing to pass these through was causing all sorts of problems!
|
|
Revision tags: nick-nhusb-base tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
| 1.4 |
16-Jul-2014 |
riastradh |
branches: 1.4.2; 1.4.4; 1.4.6; Make it build and boot on my test machines.
Screen blanks on boot on the Ivy Bridge system with
DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun
But after that everything is OK. Appears to be an upstream problem. To investigate...
I think there's a cache flushing issue somewhere -- there are little display artefacts on my T60.
|
| 1.3 |
23-May-2014 |
riastradh |
Implement intel_gtt_chipset_flush correctly.
|
|
Revision tags: rmind-smpnet-base rmind-smpnet-nbase yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15
|
| 1.2 |
18-Mar-2014 |
riastradh |
branches: 1.2.2; 1.2.4; 1.2.6; Merge riastradh-drm2 to HEAD.
|
|
Revision tags: riastradh-drm2-base3
|
| 1.1 |
08-Sep-2013 |
riastradh |
branches: 1.1.2; file intel_gtt.c was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.3 |
19-Dec-2021 |
riastradh |
i915: Make intel_gtt_get prototype match Linux.
|
| 1.2 |
19-Dec-2021 |
riastradh |
i915: Figure out the graphics stolen memory base.
|
| 1.1 |
19-Dec-2021 |
riastradh |
i915: more work
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.1 |
19-Dec-2021 |
riastradh |
Make intel_psr.c build netbsd-ify Stub out intel_lpe_audio.c (for now?). Hammer intel_opregion.c into shape. Hack up intel_lrc.c Adapt intel_reset.c Stub out intel_region_lmem.c Adapt intel_ring_submission.c Adapt intel_rps.c Adapt intel_sdvo.c Adapt intel_runtime_pm.c Adapt intel_sideband.c Adapt intel_sprite.c Adapt intel_tv.c Adapt intel_tc.c Adapt intel_sseu.c Adapt intel_timeline.c Adapt intel_uc_fw.c and fix typo Fix up intel_uncore.c intel_vga.c intel_wakeref.c intel_vdsc.c intel_wopcm.c intel_workarounds.c i915_globals.c Fix up intelfb.c Stub out intel_guc_log.c Stub out intel_dsi_dcs_backlight.c i915_perf.c intel_hdmi.c intel_hdcp.c
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.1 |
19-Dec-2021 |
riastradh |
Make intel_psr.c build netbsd-ify Stub out intel_lpe_audio.c (for now?). Hammer intel_opregion.c into shape. Hack up intel_lrc.c Adapt intel_reset.c Stub out intel_region_lmem.c Adapt intel_ring_submission.c Adapt intel_rps.c Adapt intel_sdvo.c Adapt intel_runtime_pm.c Adapt intel_sideband.c Adapt intel_sprite.c Adapt intel_tv.c Adapt intel_tc.c Adapt intel_sseu.c Adapt intel_timeline.c Adapt intel_uc_fw.c and fix typo Fix up intel_uncore.c intel_vga.c intel_wakeref.c intel_vdsc.c intel_wopcm.c intel_workarounds.c i915_globals.c Fix up intelfb.c Stub out intel_guc_log.c Stub out intel_dsi_dcs_backlight.c i915_perf.c intel_hdmi.c intel_hdcp.c
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base tls-maxphys-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-base rmind-smpnet-nbase
|
| 1.1 |
24-Jul-2013 |
riastradh |
branches: 1.1.2; file intel_pm.c was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.1 |
19-Dec-2021 |
riastradh |
Make intel_psr.c build netbsd-ify Stub out intel_lpe_audio.c (for now?). Hammer intel_opregion.c into shape. Hack up intel_lrc.c Adapt intel_reset.c Stub out intel_region_lmem.c Adapt intel_ring_submission.c Adapt intel_rps.c Adapt intel_sdvo.c Adapt intel_runtime_pm.c Adapt intel_sideband.c Adapt intel_sprite.c Adapt intel_tv.c Adapt intel_tc.c Adapt intel_sseu.c Adapt intel_timeline.c Adapt intel_uc_fw.c and fix typo Fix up intel_uncore.c intel_vga.c intel_wakeref.c intel_vdsc.c intel_wopcm.c intel_workarounds.c i915_globals.c Fix up intelfb.c Stub out intel_guc_log.c Stub out intel_dsi_dcs_backlight.c i915_perf.c intel_hdmi.c intel_hdcp.c
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
|
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base bouyer-sunxi-drm-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base tls-maxphys-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-base rmind-smpnet-nbase
|
| 1.1 |
24-Jul-2013 |
riastradh |
branches: 1.1.2; file intel_ringbuffer.c was initially added on branch riastradh-drm2.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base thorpej-ifq-base thorpej-altq-separation-base
|
| 1.25 |
22-May-2023 |
nat |
Use the offset in mmap calculations.
It fixes wsfb(4) when used with intelfb(4).
Ok riastradh@
XXX pullup-10
|
|
Revision tags: netbsd-10-base bouyer-sunxi-drm-base
|
| 1.24 |
18-Jul-2022 |
riastradh |
branches: 1.24.4; drm: Simplify async framebuffer child task attachment logic.
No need for scheduling the task to fail. Nix needless error branches.
|
| 1.23 |
18-Jul-2022 |
riastradh |
drm: Fix asynchronous attach logic for drm framebuffer devices.
The driver-specific sc_scheduled boolean flag was racy. It is necessary to use config_pending_incr/decr to hold up console selection and userland start (and block detach, not that that works yet) until the drmfb attach has completed.
|
| 1.22 |
19-Dec-2021 |
riastradh |
Make intel_psr.c build netbsd-ify Stub out intel_lpe_audio.c (for now?). Hammer intel_opregion.c into shape. Hack up intel_lrc.c Adapt intel_reset.c Stub out intel_region_lmem.c Adapt intel_ring_submission.c Adapt intel_rps.c Adapt intel_sdvo.c Adapt intel_runtime_pm.c Adapt intel_sideband.c Adapt intel_sprite.c Adapt intel_tv.c Adapt intel_tc.c Adapt intel_sseu.c Adapt intel_timeline.c Adapt intel_uc_fw.c and fix typo Fix up intel_uncore.c intel_vga.c intel_wakeref.c intel_vdsc.c intel_wopcm.c intel_workarounds.c i915_globals.c Fix up intelfb.c Stub out intel_guc_log.c Stub out intel_dsi_dcs_backlight.c i915_perf.c intel_hdmi.c intel_hdcp.c
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.21 |
19-Dec-2021 |
riastradh |
Have i915_vma_pin_iomap map us the framebuffer
Rather than passing bus space arguments around. Also fixes build.
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.20 |
19-Dec-2021 |
riastradh |
No more intel_drv.h, probably meant i915_drv.h if not used
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.19 |
19-Dec-2021 |
riastradh |
Remove last users of drmP.h.
|
|
Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base thorpej-i2c-spi-conf-base
|
| 1.18 |
12-Jun-2021 |
riastradh |
ipmi(4), intelfb(4): Use config_pending_incr/decr.
Don't abuse autoconf's private (and incoherent) dv_flags.
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
|
| 1.17 |
15-Aug-2019 |
rin |
branches: 1.17.12; kern/52229
Correct linebytes (stride) for intelfb(4), which fixes screen corruption on the following machines:
- MacBookAir5,2 (Ivy Bridge, 13-inch, Mid 2012) - MacBookAir6,1 (Haswell, 11-inch, Early 2014)
Now, wsdisplay(4) console as well as intel(4) driver of Xorg works fine on these machines.
Also there's no side effects found on another machine:
- ThinkPad T480s (Kaby Lake R)
XXX pullup to netbsd-9
|
|
Revision tags: netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
|
| 1.16 |
01-Dec-2018 |
msaitoh |
branches: 1.16.4; Use DVF_ATTACH_INPROGRESS.
|
|
Revision tags: pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
|
| 1.15 |
27-Aug-2018 |
riastradh |
Use dtrace probes to implement i915_trace.h.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
| 1.14 |
12-Dec-2016 |
maya |
branches: 1.14.14; 1.14.16; add da_fb_linebytes to drmfb_attach_args and use it to pass linebytes from nouveau code to drmfb. keep the same linebytes logic for i915.
nvidia hardware needs 256 byte alignment, so aligning to just 64 was not enough.
fixes broken console with a width of 1440px (PR kern/51181) ok riastradh
|
|
Revision tags: nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606 nick-nhusb-base-20150406
|
| 1.13 |
04-Apr-2015 |
jmcneill |
branches: 1.13.2; pmf_device_register returns false on failure, not true
|
| 1.12 |
05-Mar-2015 |
riastradh |
Factor out intelfb_is_vga_console to drmfb_pci.
|
| 1.11 |
05-Mar-2015 |
riastradh |
Factor generic parts of intelfb out into a drmfb.
Adapting radeondrmkmsfb should not be hard.
This will make nouveaufb easier too.
|
|
Revision tags: nick-nhusb-base
|
| 1.10 |
14-Sep-2014 |
riastradh |
branches: 1.10.2; Disable VGA plane after vga_cndetach.
Disabling the VGA plane requires access to the VGA registers, which don't become available until vga_cndetach. Oops!
|
|
Revision tags: tls-maxphys-base netbsd-7-base
|
| 1.9 |
09-Aug-2014 |
jmcneill |
branches: 1.9.2; 1.9.4; 1.9.6; no need to call drm_fb_helper_set_config after genfb attaches, as the setmode callback is called by genfb_attach
|
|
Revision tags: tls-earlyentropy-base
|
| 1.8 |
08-Aug-2014 |
jmcneill |
add a pmf shutdown handler to switch genfb into polling mode
|
| 1.7 |
06-Aug-2014 |
jmcneill |
provide a setmode callback for genfb; with this change, vt switching in and out of X works
|
| 1.6 |
05-Aug-2014 |
riastradh |
Use surface_width/height, not fb_width/height.
This matches the sizes the upstream code uses.
|
| 1.5 |
25-Jul-2014 |
riastradh |
Prettify intelfb/radeondrmkmsfb autoconf output.
|
| 1.4 |
24-Jul-2014 |
riastradh |
Remove leftover debugging kludge.
|
| 1.3 |
24-Jul-2014 |
riastradh |
Make ddb enter/exit work while X is running with i915drmkms.
|
| 1.2 |
24-Jul-2014 |
riastradh |
Fix WSDISPLAYIO_GET_BUSID on new intelfb(4).
Need to pass the PCI device, not one of its children (which intelfb is), to wsdisplayio_busid_pci.
Fixes starting X.
|
| 1.1 |
24-Jul-2014 |
riastradh |
Rework Intel framebuffer attachment.
Turns out genfb_softc must be at the start of its own device_private, so we can't have it in the middle of a structure, and certainly can't have potentially multiple genfbs per graphics device. Failing to do this is why entering ddb didn't work with an i915drmkms console.
Instead of putting a genfb_softc into each drm_fb_helper, put a device_t into each drm_fb_helper and create a new intelfb(4) device for each Intel framebuffer. This will be more flexible, too, in case we want accelerated framebuffers later on. (XXX Need to adapt the radeon code, which I'm disabling until that happens to avoid breaking the build.)
While here, defer disabling VGA, vga_cndetach, and genfb_attach until we're actually ready to do them all together along with the mode switch. This should reduce the amount of time during which the screen is blanked, in case it hangs.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.4 |
19-Dec-2021 |
riastradh |
i915: Tweak style.
|
| 1.3 |
19-Dec-2021 |
riastradh |
Have i915_vma_pin_iomap map us the framebuffer
Rather than passing bus space arguments around. Also fixes build.
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
| 1.2 |
19-Dec-2021 |
riastradh |
Remove last users of drmP.h.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base tls-maxphys-base netbsd-7-base tls-earlyentropy-base
|
| 1.1 |
24-Jul-2014 |
riastradh |
branches: 1.1.2; 1.1.6; Rework Intel framebuffer attachment.
Turns out genfb_softc must be at the start of its own device_private, so we can't have it in the middle of a structure, and certainly can't have potentially multiple genfbs per graphics device. Failing to do this is why entering ddb didn't work with an i915drmkms console.
Instead of putting a genfb_softc into each drm_fb_helper, put a device_t into each drm_fb_helper and create a new intelfb(4) device for each Intel framebuffer. This will be more flexible, too, in case we want accelerated framebuffers later on. (XXX Need to adapt the radeon code, which I'm disabling until that happens to avoid breaking the build.)
While here, defer disabling VGA, vga_cndetach, and genfb_attach until we're actually ready to do them all together along with the mode switch. This should reduce the amount of time during which the screen is blanked, in case it hangs.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
| 1.3 |
19-Dec-2021 |
riastradh |
i915: Odds & ends.
|
| 1.2 |
19-Dec-2021 |
riastradh |
i915: another whack at it
|
| 1.1 |
19-Dec-2021 |
riastradh |
Rename intel_dsi.c -> vlv_dsi.c
|