Giter VIP home page Giter VIP logo

drm-kmod-firmware's Introduction

drm-kmod-firmware

Firmware for use with drm-kmod drivers.

Contributing

Notes

These firmware modules are for use with the FreeBSD kms drm drivers. They are originally obtained from the linux-firmware repository, located here: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

Directory structure

The firmware files are located in amdgpukmsfw-files, i915kmsfw-files and radeonkmsfw-files directories, for respective driver. The directories with the same names, but without -files, contain Makefiles for building firmware kmods for loading into the FreeBSD kernel.

Adding new firmware

Intel

Intel firmwares are versioned so we just import the needed ones. Since there is multiple drm-kmod version supported on the different version of FreeBSD we need different versions of the firmwares too. For v4.16 (Supported on FreeBSD 12.X) :

DMC firmware : https://github.com/FreeBSDDesktop/kms-drm/blob/drm-v4.16/drivers/gpu/drm/i915/intel_csr.c#L37

GuC firmware : https://github.com/FreeBSDDesktop/kms-drm/blob/drm-v4.16/drivers/gpu/drm/i915/intel_guc_fw.c#L33

HuC firmware : https://github.com/FreeBSDDesktop/kms-drm/blob/drm-v4.16/drivers/gpu/drm/i915/intel_huc.c#L45

For 5.4-lts (Supported on FreeBSD 13.0 and above) :

DMC firmware : https://github.com/freebsd/drm-kmod/blob/5.4-lts/drivers/gpu/drm/i915/intel_csr.c#L42

GuC/HuC firmware : https://github.com/freebsd/drm-kmod/blob/5.4-lts/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c#L41

For 5.5-stable (Supported on FreeBSD 13-STABLE and above) :

DMC firmware : https://github.com/freebsd/drm-kmod/blob/5.5-stable/drivers/gpu/drm/i915/intel_csr.c#L42

GuC/HuC firmware : https://github.com/freebsd/drm-kmod/blob/5.5-stable/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c#L45

For 5.6-stable (Supported on FreeBSD 13-STABLE and above) :

DMC firmware https://github.com/freebsd/drm-kmod/blob/5.6-stable/drivers/gpu/drm/i915/intel_csr.c#L42

GuC/HuC firmware : https://github.com/freebsd/drm-kmod/blob/5.6-stable/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c#L45

Download the firmware from the git repo above and do one commit related to the drm-kmod version bump. So if upgrading to drm vX.Y needs three new firmware for different Intel hardware do one commit for the three.

drm-kmod-firmware's People

Contributors

bzfbd avatar delphij avatar evadot avatar hselasky avatar iotamudelta avatar jbeich avatar johalun avatar juikim avatar zeising avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.