| #
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.
|