-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'drm-next-4.21' of git://people.freedesktop.org/~agd5f/l…
…inux into drm-next New features for 4.21: amdgpu: - Support for SDMA paging queue on vega - Put compute EOP buffers into vram for better performance - Share more code with amdkfd - Support for scanout with DCC on gfx9 - Initial kerneldoc for DC - Updated SMU firmware support for gfx8 chips - Rework CSA handling for eventual support for preemption - XGMI PSP support - Clean up RLC handling - Enable GPU reset by default on VI, SOC15 dGPUs - Ring and IB test cleanups amdkfd: - Share more code with amdgpu ttm: - Move global init out of the drivers scheduler: - Track if schedulers are ready for work - Timeout/fault handling changes to facilitate GPU recovery Signed-off-by: Dave Airlie <airlied@redhat.com> From: Alex Deucher <alexdeucher@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181114165113.3751-1-alexander.deucher@amd.com
- Loading branch information
Showing
207 changed files
with
5,628 additions
and
5,460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
=================================== | ||
drm/amd/display - Display Core (DC) | ||
=================================== | ||
|
||
*placeholder - general description of supported platforms, what dc is, etc.* | ||
|
||
Because it is partially shared with other operating systems, the Display Core | ||
Driver is divided in two pieces. | ||
|
||
1. **Display Core (DC)** contains the OS-agnostic components. Things like | ||
hardware programming and resource management are handled here. | ||
2. **Display Manager (DM)** contains the OS-dependent components. Hooks to the | ||
amdgpu base driver and DRM are implemented here. | ||
|
||
It doesn't help that the entire package is frequently referred to as DC. But | ||
with the context in mind, it should be clear. | ||
|
||
When CONFIG_DRM_AMD_DC is enabled, DC will be initialized by default for | ||
supported ASICs. To force disable, set `amdgpu.dc=0` on kernel command line. | ||
Likewise, to force enable on unsupported ASICs, set `amdgpu.dc=1`. | ||
|
||
To determine if DC is loaded, search dmesg for the following entry: | ||
|
||
``Display Core initialized with <version number here>`` | ||
|
||
AMDgpu Display Manager | ||
====================== | ||
|
||
.. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | ||
:doc: overview | ||
|
||
.. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | ||
:internal: | ||
|
||
Lifecycle | ||
--------- | ||
|
||
.. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | ||
:doc: DM Lifecycle | ||
|
||
.. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | ||
:functions: dm_hw_init dm_hw_fini | ||
|
||
Interrupts | ||
---------- | ||
|
||
.. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | ||
:doc: overview | ||
|
||
.. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | ||
:internal: | ||
|
||
.. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | ||
:functions: register_hpd_handlers dm_crtc_high_irq dm_pflip_high_irq | ||
|
||
Atomic Implementation | ||
--------------------- | ||
|
||
.. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | ||
:doc: atomic | ||
|
||
.. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | ||
:functions: amdgpu_dm_atomic_check amdgpu_dm_atomic_commit_tail | ||
|
||
Display Core | ||
============ | ||
|
||
**WIP** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ GPU Driver Documentation | |
.. toctree:: | ||
|
||
amdgpu | ||
amdgpu-dc | ||
i915 | ||
meson | ||
pl111 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.