Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Linux 6.7 drivers #332

Open
wants to merge 1,328 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1328 commits
Select commit Hold shift + click to select a range
d33b283
drm/amdgpu: Remove duplicate fdinfo fields
robclark Oct 26, 2023
0e21ab7
drm/amdgpu: Remove unused variables from amdgpu_show_fdinfo
Umio-Yasuno Oct 26, 2023
342efcb
drm/i915/mtl: avoid stringop-overflow warning
arndb Oct 16, 2023
c23eefc
drm/i915: Flush WC GGTT only on required platforms
nirmoy Oct 18, 2023
f957f8d
drm/i915/mtl: Support HBR3 rate with C10 phy and eDP in MTL
ckborah Oct 18, 2023
f7ab229
i915/perf: Fix NULL deref bugs with drm_dbg() calls
harshimogalapalli Oct 27, 2023
d151923
drm/amdgpu: check RAS supported first in ras_reset_error_count
Oct 25, 2023
e45592b
drm/amd/pm: Fix warnings
Oct 27, 2023
011f45d
drm/amdgpu: Drop deferred error in uncorrectable error check
candicelicy Oct 27, 2023
9e8a42b
drm/amdgpu: remove amdgpu_mes_self_test in gpu recover
yifancom Oct 26, 2023
5608de4
drm/amd/pm: fix the high voltage and temperature issue
Oct 25, 2023
468bfdf
drm/amdgpu: add unmap latency when gfx11 set kiq resources
Oct 27, 2023
17f4855
drm/amdgpu: set XGMI IP version manually for v6_4
Oct 27, 2023
791abc2
drm/amdgpu: Fix the vram base start address
arunpravin24 Oct 30, 2023
12cc80c
drm/amd/pm: Fix error of MACO flag setting code
Oct 31, 2023
715c060
drm/amdgpu: remove unused macro HW_REV
Oct 31, 2023
d558e47
drm/amd/pm: Return 0 as default min power limit for legacy asics
Oct 26, 2023
8785630
drm/amdgpu doorbell range should be set when gpu recovery
Oct 30, 2023
611ac76
drm/amdgpu: use mode-2 reset for RAS poison consumption
Oct 27, 2023
258dbca
drm/amdgpu/gfx10,11: use memcpy_to/fromio for MQDs
alexdeucher Oct 26, 2023
2964774
drm/amdgpu: don't use ATRM for external devices
alexdeucher Oct 17, 2023
8135303
drm/amdgpu: don't use pci_is_thunderbolt_attached()
alexdeucher Oct 17, 2023
418dab2
drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers
alexdeucher Oct 27, 2023
85c24b0
drm/radeon: replace 1-element arrays with flexible-array members
Pekkari Oct 31, 2023
3e15665
drm/amdgpu: ungate power gating when system suspend
Jul 27, 2023
f5b3ba0
drm/amdgpu: add a retry for IP discovery init
alexdeucher Oct 19, 2023
5c61f5f
drm/amdgpu/smu13: drop compute workload workaround
alexdeucher Nov 1, 2023
3afe392
drm/amdgpu: don't put MQDs in VRAM on ARM | ARM64
alexdeucher Oct 26, 2023
cee8a9e
drm/amd/display: Avoid NULL dereference of timing generator
Sep 8, 2023
e53dc68
drm/amdkfd: Improve amdgpu_vm_handle_moved
fxkamd Mar 16, 2022
e654284
drm/amd/pm: only check sriov vf flag once when creating hwmon sysfs
Oct 26, 2023
f3195c6
drm/amdgpu: check recovery status of xgmi hive in ras_reset_error_count
Oct 30, 2023
0d8e28c
drm/amdgpu: fix GRBM read timeout when do mes_self_test
Nov 1, 2023
443d72e
drm/amdgpu: Optimize the asic type fix code
Oct 31, 2023
128aeb1
drm/amdgpu: Add C2PMSG_109/126 reg field shift/masks
Oct 27, 2023
c28ecd2
drm/amd/swsmu: update smu v14_0_0 driver if and metrics table
Oct 30, 2023
2df9f8e
drm/amd/swsmu: remove fw version check in sw_init.
Oct 30, 2023
76a4b44
drm/amdgpu: Add psp v13 function to query boot status
Nov 3, 2023
18e7b89
drm/amdgpu: Query and report boot status
Oct 19, 2023
0b85434
drm/amd/display: Program plane color setting correctly
Oct 11, 2023
a2c09a7
drm/amd/display: Fix blend LUT programming
Oct 12, 2023
949476f
drm/amd/display: Enable fast update on blendTF change
Oct 12, 2023
c1865ff
drm/i915/mtl: Apply notify_guc to all GTs
nirmoy Oct 25, 2023
49d0868
drm/i915: Bump GLK CDCLK frequency when driving multiple pipes
vsyrjala Oct 31, 2023
4a95f70
drm/i915: Fix potential spectre vulnerability
KunWuChan Nov 3, 2023
cb39572
drm/i915/tc: Fix -Wformat-truncation in intel_tc_port_init
nirmoy Oct 26, 2023
8551c0d
drm/amd: Disable XNACK on SRIOV environment
Sep 25, 2023
bd3ca05
drm/amd/display: On boot disable domain22 force power on
Oct 13, 2023
86b678e
drm/amd/display: [FW Promotion] Release 0.0.189.0
anthony-koo2 Oct 14, 2023
86d6c74
drm/amd/display: decouple dmcub execution to reduce lock granularity
unsccaptain1 Oct 13, 2023
4fc7bfa
drm/amd/display: 3.2.257
AMD-aric Oct 15, 2023
2c33a19
drm/amd/display: Fix missing blendTF programming
Oct 13, 2023
82abce3
drm/amd/display: Fix FRL assertion on boot
Oct 16, 2023
4289374
drm/amd/display: Enable RCO options for dcn35
Oct 20, 2023
e850e80
drm/amd/display: Enable more IPS options
Oct 16, 2023
086400f
drm/amd/display: Allow 16 max_slices for DP2 DSC
Oct 18, 2023
53e3a95
drm/amd/display: Update test link rate DPCD bit field to match spec
Oct 20, 2023
c41607d
drm/amd/display: Update DP HPO MSA with colorimetry from test request
Oct 11, 2023
eef494c
drm/amd/display: DCN35 Disable cm power optimization
Oct 19, 2023
d6f38cb
drm/amd/display: Introduce flag for disabling Replay desync recovery
May 3, 2023
4a64bf1
drm/amd/display: amend HPD handler for Replay
Oct 3, 2023
e723875
drm/amd/display: Fix OTG disable workaround logic
Oct 10, 2023
c0b2d94
drm/amd/display: Add missing dml2 init value for dcn35
Oct 19, 2023
b845aeb
drm/amd/display: 3.2.258
AMD-aric Oct 22, 2023
8eca7bd
drm/amd/display: [FW Promotion] Release 0.0.190.0
anthony-koo2 Oct 21, 2023
8813952
drm/amd/display: Revise Replay Desync Error IRQ handle
Oct 12, 2023
658a5ee
drm/amd/display: Disable OTG for mode timing switch on DCN35
Oct 25, 2023
5de0b8e
drm/amd/display: Create optc.h file
Oct 20, 2023
bb9c6a3
drm/amd/display: Remove unused duplicate register definition
Oct 25, 2023
f2faf0f
drm/amd/display: save and restore mall state when applying minimal tr…
Oct 20, 2023
42b3411
drm/amd/display: Promote DAL to 3.2.259
AMD-aric Oct 30, 2023
b2333e6
drm/amd/display: Remove references to unused dml arch version
Oct 24, 2023
05bf519
drm/amd/display: Enable physymclk RCO
Oct 26, 2023
df219ef
drm/amd/display: For cursor P-State allow for SubVP
Oct 23, 2023
ee23934
drm/amd/display: Fix handling duplicate planes on one stream
Oct 11, 2023
7411b76
drm/amd/display: Set stream's DP test pattern upon test request
Oct 25, 2023
9690278
drm/amdgpu/soc21: add mode2 asic reset for SMU IP v14.0.0
jiadozhu Oct 26, 2023
4be33a8
drm/amdgpu: Fix sdma 4.4.2 doorbell rptr/wptr init
Nov 6, 2023
8da1768
drm/amd/pm: Hide irrelevant pm device attributes
Oct 31, 2023
63d761c
drm/amd/display: avoid variable reinitialization
bragathemanick Oct 24, 2023
2ed5430
drm/amd/pm: not stop rlc for IMU enabled APUs when suspend
Oct 19, 2023
163f1f1
drm/amdgpu: handle extra UE register entries for gfx v9_4_3
Oct 31, 2023
d092d30
drm/amdgpu: add RAS reset/query operations for XGMI v6_4
Oct 19, 2023
c6180b8
drm/amdgpu: fix AGP init order
alexdeucher Nov 7, 2023
37749eb
drm/amdgpu: fix error handling in amdgpu_bo_list_get()
ChristianKoenigAMD Nov 9, 2023
b32d419
drm/amdgpu: lower CS errors to debug severity
ChristianKoenigAMD Nov 9, 2023
c505a58
drm/amdgpu: Don't warn for unsupported set_xgmi_plpd_mode
Oct 31, 2023
ebd1a73
drm/amd/pm: Hide pp_dpm_pcie device attribute
Nov 3, 2023
78e3f61
drm/amdgpu: correct amdgpu ip block rev info
Oct 31, 2023
f03dc4a
drm/amd/pm: raise the deep sleep clock threshold for smu 13.0.6
Nov 7, 2023
48d6286
drm/amdgpu: Add flag to enable indirect RLCG access for gfx v9.4.3
Aug 8, 2023
4253faa
drm/amdgpu: Add xcc param to SRIOV kiq write and WREG32_SOC15_IP_NO_K…
Aug 8, 2023
29c8781
drm/amdgpu: correct smu v13.0.6 umc ras error check
Oct 24, 2023
cf2437e
drm: amd: Resolve Sphinx unexpected indentation warning
Nov 7, 2023
38f6d48
drm/amdgpu: Skip PCTL0_MMHUB_DEEPSLEEP_IB write in jpegv4.0.3 under S…
Oct 4, 2023
2630c2e
drm/amdgpu: Do not program PF-only regs in hdp_v4_0.c under SRIOV (v2)
Oct 11, 2023
21c8095
drm/amdgpu: refine smu v13.0.6 mca dump driver
Nov 2, 2023
590e635
drm/amdgpu: Support multiple error query modes
Nov 8, 2023
4a01196
drm/amdgpu: disable smu v13.0.6 mca debug mode by default
Nov 7, 2023
8d1d2bf
drm/amdgpu: Change extended-scope MTYPE on GC 9.4.3
dayatsin-amd Nov 8, 2023
dcabb3e
drm/amdgpu: add pcs xgmi v6.4.0 ras support
Nov 3, 2023
6a431ce
drm/amdgpu: correct acclerator check architecutre dump
Nov 8, 2023
7cdaecb
drm/amdgpu: correct mca debugfs dump reg list
Nov 8, 2023
38bc8cb
drm/amd/display: remove duplicated argument
Pekkari Oct 29, 2023
3859e48
drm/amdgpu: fix software pci_unplug on some chips
vprosyak Oct 11, 2023
71d77db
drm/amdgpu: add smu v13.0.6 pcs xgmi ras error query support
Nov 7, 2023
fc318bd
drm/amdgpu: Use correct KIQ MEC engine for gfx9.4.3 (v5)
Oct 3, 2023
e23171f
drm/amdgpu: Change WREG32_RLC to WREG32_SOC15_RLC where inst != 0 (v2)
Aug 8, 2023
182f7c9
drm/amd: Explicitly check for GFXOFF to be enabled for s0ix
superm1 Nov 9, 2023
4f5c291
drm/amdgpu: move kfd_resume before the ip late init
Oct 19, 2023
9fb4630
drm/amdgpu: move UVD and VCE sched entity init after sched init
alexdeucher Nov 8, 2023
5c65014
drm/amdgpu: Fix possible null pointer dereference
fxkamd Oct 31, 2023
4322b70
drm/amdgpu: fix error handling in amdgpu_vm_init
ChristianKoenigAMD Oct 31, 2023
75a7d4c
drm: panel-orientation-quirks: Add quirk for Lenovo Legion Go
appsforartists Nov 14, 2023
6de6c8d
drm/amd/display: Guard against invalid RPTR/WPTR being set
Sep 13, 2023
1b6ee8f
drm/amdgpu: Do not program VF copy regs in mmhub v1.8 under SRIOV (v2)
Oct 4, 2023
d940b55
drm/amdgpu: finalizing mem_partitions at the end of GMC v9 sw_fini
Nov 13, 2023
08087e3
drm/amdgpu: Address member 'ring' not described in 'amdgpu_ vce, uvd_…
srishanm Nov 12, 2023
7e11f54
drm/amd/display: Fix DSC not Enabled on Direct MST Sink
Oct 23, 2023
b0cb032
drm/amdgpu: correct chunk_ptr to a pointer to chunk.
Oct 31, 2023
3eacc24
drm/amd/pm: Update metric table for smu v13_0_6
Oct 30, 2023
c3e0adb
drm/amd/pm: Fill pcie error counters for gpu v1_4
Nov 14, 2023
7718b0d
drm/amd/display: Add null checks for 8K60 lightup
Oct 31, 2023
b350c73
drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer()
superm1 Nov 8, 2023
e063b36
drm/amd/display: fix NULL dereference
Pekkari Nov 14, 2023
a94ab49
drm/amd/display: Enable fast plane updates on DCN3.2 and above
Nov 1, 2023
28959b9
drm/amd/display: Clear dpcd_sink_ext_caps if not set
Oct 25, 2023
949ec8a
drm/amdgpu: fix ras err_data null pointer issue in amdgpu_ras.c
Nov 13, 2023
c325f32
drm/amd/pm: Don't send unload message for reset
Nov 10, 2023
6efa5e9
drm/amd/display: Negate IPS allow and commit bits
Oct 25, 2023
69be575
drm/amdgpu: add and populate the port num into xgmi topology info
Oct 31, 2023
ca37dbe
drm/amd/display: Change the DMCUB mailbox memory location from FB to …
Oct 19, 2023
7ba4527
drm/amd/display: Fix encoder disable logic
Nov 1, 2023
52b8555
drm/amdgpu/gmc11: fix logic typo in AGP check
alexdeucher Nov 14, 2023
a8b8428
drm/amdgpu: add a module parameter to control the AGP aperture
alexdeucher Nov 9, 2023
f20a857
drm/amdgpu/gmc11: disable AGP aperture
alexdeucher Nov 9, 2023
b64147e
drm/amdgpu/gmc10: disable AGP aperture
alexdeucher Nov 9, 2023
1aa47fa
drm/amdgpu/gmc9: disable AGP aperture
alexdeucher Nov 9, 2023
fa7520d
drm/i915/dp_mst: Fix race between connector registration and setup
ideak Oct 29, 2023
0f607b7
drm/i915: do not clean GT table on error path
ahajda Nov 15, 2023
8bafbe8
dma-buf: fix check in dma_resv_add_fence
ChristianKoenigAMD Nov 14, 2023
9fba15e
drm/gpuvm: Fix deprecated license identifier
Nov 6, 2023
0c53a0f
drm/i915/gsc: Mark internal GSC engine with reserved uabi class
tursulin Nov 16, 2023
592613a
drm/i915: Also check for VGA converter in eDP probe
vsyrjala Nov 14, 2023
05478e8
drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled
vsyrjala Nov 21, 2023
71b17c5
drm/amd/display: Include udelay when waiting for INBOX0 ACK
Nov 6, 2023
d207d10
drm/amd/display: Add z-state support policy for dcn35
Nov 3, 2023
b8125f1
drm/amdgpu: update xgmi num links info post gc9.4.2
jokim-amd Nov 16, 2023
df95a32
drm/amd/display: Update DCN35 watermarks
Nov 6, 2023
5db8b77
drm/amd/display: fix a pipe mapping error in dcn32_fpu
Nov 6, 2023
128336d
drm/amdgpu: optimize RLC powerdown notification on Vangogh
Aug 1, 2023
605b6cf
drm/amd/display: Add Z8 watermarks for DML2 bbox overrides
Nov 7, 2023
6403e17
drm/amdgpu: Do not issue gpu reset from nbio v7_9 bif interrupt
Nov 20, 2023
b33e1ef
drm/amdgpu: Force order between a read and write to the same address
alexsierrag Nov 20, 2023
961cd34
drm/amd/display: Feed SR and Z8 watermarks into DML2 for DCN35
Nov 7, 2023
e903f0d
drm/amd/display: Fix MPCC 1DLUT programming
Nov 7, 2023
c2f8e0a
drm/amd/display: Use DRAM speed from validation for dummy p-state
Nov 7, 2023
ee6ba8c
drm/amd/display: Do not read DPREFCLK spread info from LUT on DCN35
Oct 27, 2023
0ef97a0
drm/amd/display: Increase num voltage states to 40
Nov 8, 2023
db08531
drm/amd/display: Simplify brightness initialization
Nov 3, 2023
9736c21
drm/amdgpu: add init_registers for nbio v7.11
Nov 21, 2023
8ca8026
drm/amdgpu: fix memory overflow in the IB test
Nov 21, 2023
807541e
drm/amd/display: Remove min_dst_y_next_start check for Z8
Nov 8, 2023
29e2219
drm/amd/display: Update min Z8 residency time to 2100 for DCN314
Nov 8, 2023
86e0e13
drm/amdgpu: correct the amdgpu runtime dereference usage count
Nov 8, 2023
3e746a0
drm/amd/display: force toggle rate wa for first link training for a r…
Nov 8, 2023
fd4a397
drm/amd/display: Update DCN35 clock table policy
Nov 3, 2023
2fa4a3c
drm/amd/display: Remove config update
Nov 10, 2023
963c18a
drm/amd/display: Fix conversions between bytes and KB
Nov 10, 2023
e0beff7
drm/amd/display: Fix black screen on video playback with embedded panel
Nov 10, 2023
b75147b
drm/amd/display: fix ABM disablement
effective-light Nov 22, 2023
67a3a6f
drm/amd/display: update dcn315 lpddr pstate latency
Nov 3, 2023
3e8542c
drm/amdgpu: fix AGP addressing when GART is not at 0
alexdeucher Nov 10, 2023
4971c26
drm/amd/pm: fix a memleak in aldebaran_tables_init
dinghaoliu Nov 23, 2023
51465fb
drm/amd: Enable PCIe PME from D3
superm1 Nov 24, 2023
6a3831a
drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer
Nov 23, 2023
d9eed3a
drm/amd/display: Allow DTBCLK disable for DCN35
Nov 14, 2023
0603901
drm/amdgpu: Update EEPROM I2C address for smu v13_0_0
candicelicy Nov 24, 2023
02d6ed8
drm/amd/display: Fix some HostVM parameters in DML
Nov 10, 2023
59b3674
drm/amdgpu: Use another offset for GC 9.4.3 remap
Nov 28, 2023
52d32f5
Revert "drm/prime: Unexport helpers for fd/handle conversion"
fxkamd Nov 17, 2023
4a535c6
drm/i915: Check pipe active state in {planes,vrr}_{enabling,disabling}()
vsyrjala Nov 21, 2023
3cde806
drm/i915: Skip some timing checks on BXT/GLK DSI transcoders
vsyrjala Nov 27, 2023
e28eaeb
drm/i915/mst: Fix .mode_valid_ctx() return values
vsyrjala Nov 27, 2023
bca024e
drm/i915/mst: Reject modes that require the bigjoiner
vsyrjala Nov 27, 2023
ae374bf
drm/i915: correct the input parameter on _intel_dsb_commit()
Nov 14, 2023
6bc9594
drm/atomic-helpers: Invoke end_fb_access while owning plane state
Dec 4, 2023
4d3717a
drm/amdgpu: disable MCBP by default
jiadozhu Dec 1, 2023
3c5d0cd
drm/amd/display: Use channel_width = 2 for vram table 3.0
Dec 1, 2023
2de7a72
drm/amd/display: Add monitor patch for specific eDP
Dec 1, 2023
eca664b
drm/amd/display: Fix array-index-out-of-bounds in dml2
Dec 1, 2023
163e6b9
drm/amd/swsmu: update smu v14_0_0 driver if version and metrics table
Nov 14, 2023
2b5c49d
drm/amd/pm: support new mca smu error code decoding
Dec 4, 2023
81cffd9
drm/amdgpu: Update fw version for boot time error query
Nov 20, 2023
8696da2
drm/amdgpu: optimize the printing order of error data
Dec 4, 2023
4aee1ae
drm/amdgpu: Restrict extended wait to PSP v13.0.6
Nov 29, 2023
47b0ca9
drm/amdgpu: Add NULL checks for function pointers
Nov 29, 2023
22c8c86
drm/amdgpu: Update HDP 4.4.2 clock gating flags
Nov 30, 2023
6d23cc1
drm/amdgpu: Avoid querying DRM MGCG status
Nov 30, 2023
0f61603
drm/amdgpu: fix buffer funcs setting order on suspend
alexdeucher Nov 29, 2023
5015029
drm: Fix FD ownership check in drm_master_check_perm()
LDong-Arm Dec 6, 2023
94e6e8c
drm/crtc: Fix uninit-value bug in drm_mode_setcrtc
astrajoan Jul 21, 2023
bcd08ae
drm/crtc: fix uninitialized variable use
jnikula Dec 8, 2023
fbcd6b7
drm/i915: Use internal class when counting engine resets
tursulin Dec 1, 2023
0b7da81
drm/i915: Fix remapped stride with CCS on ADL+
vsyrjala Dec 5, 2023
f7a4447
drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
vsyrjala Dec 7, 2023
5c2255c
drm/i915: Fix ADL+ tiled plane stride when the POT stride is smaller …
vsyrjala Dec 4, 2023
d279d38
drm/i915/edp: don't write to DP_LINK_BW_SET when using rate select
jnikula Dec 5, 2023
424bbc1
drm/edid: also call add modes in EDID connector update fallback
jnikula Dec 7, 2023
9707b23
drm/amdgpu: fix buffer funcs setting order on suspend harder
alexdeucher Dec 11, 2023
0f9a582
drm/amd/pm: fix pp_*clk_od typo
dmitrii-galantsev Dec 6, 2023
15dde0c
drm/amd/display: fix hw rotated modes when PSR-SU is enabled
effective-light Dec 5, 2023
813b191
drm/amd/display: Restore guard against default backlight value < 1 nit
superm1 Dec 6, 2023
95312e2
drm/amdgpu/jpeg: configure doorbell for each playback
skjamadar Nov 28, 2023
7f5729f
drm/amd/display: Revert "Fix conversions between bytes and KB"
Dec 6, 2023
e1fb0ba
drm/amd/display: Populate dtbclk from bounding box
Dec 6, 2023
e93365e
drm/amd/display: Disable PSR-SU on Parade 0803 TCON again
superm1 Jun 19, 2023
a811ddc
drm/amdgpu/sdma5.2: add begin/end_use ring callbacks
alexdeucher Dec 7, 2023
f57ad8d
drm/amd: Fix a probing order problem on SDMA 2.4
superm1 Dec 12, 2023
c479519
drm/amdgpu: fix tear down order in amdgpu_vm_pt_free
ChristianKoenigAMD Dec 8, 2023
d803708
drm/amdgpu: warn when there are still mappings when a BO is destroyed v2
ChristianKoenigAMD Dec 4, 2023
f95becd
drm/i915/display: Get bigjoiner config before dsc config during readout
aknautiyal Nov 22, 2023
8f4dd7c
drm/i915/hwmon: Fix static analysis tool reported issues
kpoosa Dec 4, 2023
531ad32
drm/i915: Reject async flips with bigjoiner
vsyrjala Dec 11, 2023
ad3860a
drm/i915/mtl: Fix HDMI/DP PLL clock selection
ideak Dec 13, 2023
51cd8ac
drm/i915/dmc: Don't enable any pipe DMC events
vsyrjala Dec 11, 2023
42b66a2
drm/amd/display: Revert " drm/amd/display: Use channel_width = 2 for …
Dec 4, 2023
070a95f
drm/amd/display: disable FPO and SubVP for older DMUB versions on DCN32x
effective-light Dec 15, 2023
719203c
drm/amd/display: Add case for dcn35 to support usb4 dmub hpd event
Dec 5, 2023
f74c75f
drm/amd/display: get dprefclk ss info from integration info table
charliu-AMDENG Dec 6, 2023
4ea5040
drm/amd/display: dereference variable before checking for zero
Dec 5, 2023
ad9ef4e
drm/amdgpu: re-create idle bo's PTE during VM state machine reset
Dec 19, 2023
ddf763f
drm/i915/dp: Fix passing the correct DPCD_REV for drm_dp_set_phy_test…
almahallawy Dec 13, 2023
f7a7290
drm/i915/perf: Update handling of MMIO triggered reports
unerlige Dec 19, 2023
47f913e
drm/amd/display: pbn_div need be updated for hotplug event
Dec 4, 2023
78a9a24
drm/amd/pm: Use separate metric table for APU
Dec 20, 2023
ebbe6bf
drm/amd/pm: Update metric table for jpeg/vcn data
Dec 20, 2023
343b52b
drm/amd/display: add nv12 bounding box
alexdeucher Dec 20, 2023
3478424
drm/amdgpu: skip gpu_info fw loading on navi12
alexdeucher Dec 20, 2023
117e68a
drm/amd/display: Fix sending VSC (+ colorimetry) packets for DP/eDP d…
misyltoad Jan 1, 2024
2c6de37
drm/amd/pm: Add mem_busy_percent for GCv9.4.3 apu
Dec 22, 2023
dda29d8
drm/amd/pm: Add gpu_metrics_v1_5
Dec 20, 2023
0963e30
drm/amd/pm: Use gpu_metrics_v1_5 for SMUv13.0.6
Dec 20, 2023
f75cff3
drm/debugfs: rework drm_debugfs_create_files implementation v2
Aug 29, 2023
814f14d
drm: convert drm_gem_put_pages() to use a folio_batch
Jun 21, 2023
905259a
drm: Do not overrun array in drm_gem_get_pages()
Oct 5, 2023
dc96579
i915: convert i915_gpu_error to use a folio_batch
Jun 21, 2023
4a713f8
Reduce diff with Linux 6.7
dumbbell Jan 13, 2025
56dd1b7
drm/i915 (FreeBSD): Restore "auto-enable" behavior of the GuC
dumbbell Jan 21, 2025
933224c
drm/i915 (FreeBSD): Use `info->fix.smem_*` to register fictitious mem…
dumbbell Jan 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
127 changes: 108 additions & 19 deletions amd/amdgpu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ _dml= ${SRCDIR}/display/dc/dml \
${SRCDIR}/display/dc/dml/dcn314 \
${SRCDIR}/display/dc/dml/dcn32 \
${SRCDIR}/display/dc/dml/dcn321 \
${SRCDIR}/display/dc/dml/dsc
${SRCDIR}/display/dc/dml/dcn35 \
${SRCDIR}/display/dc/dml/dsc \
${SRCDIR}/display/dc/dml2
.endif

.PATH: ${SRCDIR}/acp \
Expand Down Expand Up @@ -61,6 +63,7 @@ _dml= ${SRCDIR}/display/dc/dml \
${SRCDIR}/display/dc/clk_mgr/dcn315 \
${SRCDIR}/display/dc/clk_mgr/dcn316 \
${SRCDIR}/display/dc/clk_mgr/dcn32 \
${SRCDIR}/display/dc/clk_mgr/dcn35 \
${SRCDIR}/display/dc/dce \
${SRCDIR}/display/dc/dce100 \
${SRCDIR}/display/dc/dce110 \
Expand All @@ -82,6 +85,29 @@ _dml= ${SRCDIR}/display/dc/dml \
${SRCDIR}/display/dc/dcn316 \
${SRCDIR}/display/dc/dcn32 \
${SRCDIR}/display/dc/dcn321 \
${SRCDIR}/display/dc/dcn35 \
${SRCDIR}/display/dc/hwss/dce \
${SRCDIR}/display/dc/hwss/dce100 \
${SRCDIR}/display/dc/hwss/dce110 \
${SRCDIR}/display/dc/hwss/dce112 \
${SRCDIR}/display/dc/hwss/dce120 \
${SRCDIR}/display/dc/hwss/dce60 \
${SRCDIR}/display/dc/hwss/dce80 \
${SRCDIR}/display/dc/hwss/dcn10 \
${SRCDIR}/display/dc/hwss/dcn20 \
${SRCDIR}/display/dc/hwss/dcn201 \
${SRCDIR}/display/dc/hwss/dcn21 \
${SRCDIR}/display/dc/hwss/dcn30 \
${SRCDIR}/display/dc/hwss/dcn301 \
${SRCDIR}/display/dc/hwss/dcn302 \
${SRCDIR}/display/dc/hwss/dcn303 \
${SRCDIR}/display/dc/hwss/dcn31 \
${SRCDIR}/display/dc/hwss/dcn314 \
${SRCDIR}/display/dc/hwss/dcn315 \
${SRCDIR}/display/dc/hwss/dcn316 \
${SRCDIR}/display/dc/hwss/dcn32 \
${SRCDIR}/display/dc/hwss/dcn321 \
${SRCDIR}/display/dc/hwss/dcn35 \
${SRCDIR}/display/dc/dml/calcs \
${SRCDIR}/display/dc/dsc \
${_dml} \
Expand Down Expand Up @@ -123,6 +149,7 @@ _dml= ${SRCDIR}/display/dc/dml \
${SRCDIR}/display/dc/irq/dcn314 \
${SRCDIR}/display/dc/irq/dcn315 \
${SRCDIR}/display/dc/irq/dcn32 \
${SRCDIR}/display/dc/irq/dcn35 \
${SRCDIR}/display/dc/link \
${SRCDIR}/display/dc/link/accessories \
${SRCDIR}/display/dc/link/hwss \
Expand Down Expand Up @@ -150,6 +177,7 @@ _dml= ${SRCDIR}/display/dc/dml \
${SRCDIR}/pm/swsmu/smu11 \
${SRCDIR}/pm/swsmu/smu12 \
${SRCDIR}/pm/swsmu/smu13 \
${SRCDIR}/pm/swsmu/smu14 \
${DRM}/scheduler

# acp
Expand Down Expand Up @@ -224,6 +252,8 @@ SRCS+= amdgpu_afmt.c \
amdgpu_sa.c \
amdgpu_sched.c \
amdgpu_sdma.c \
amdgpu_umsch_mm.c \
amdgpu_vpe.c \
sienna_cichlid.c \
amdgpu_sync.c \
amdgpu_trace_points.c \
Expand Down Expand Up @@ -266,6 +296,7 @@ SRCS+= amdgpu_afmt.c \
df_v1_7.c \
df_v3_6.c \
df_v4_3.c \
df_v4_6_2.c \
emu_soc.c \
gfx_v6_0.c \
gfx_v7_0.c \
Expand All @@ -284,6 +315,7 @@ SRCS+= amdgpu_afmt.c \
gfxhub_v2_1.c \
gfxhub_v3_0.c \
gfxhub_v3_0_3.c \
gfxhub_v11_5_0.c \
gmc_v6_0.c \
gmc_v7_0.c \
gmc_v8_0.c \
Expand All @@ -307,6 +339,7 @@ SRCS+= amdgpu_afmt.c \
jpeg_v3_0.c \
jpeg_v4_0.c \
jpeg_v4_0_3.c \
jpeg_v4_0_5.c \
kv_dpm.c \
kv_smc.c \
legacy_dpm.c \
Expand All @@ -322,6 +355,7 @@ SRCS+= amdgpu_afmt.c \
mmhub_v3_0.c \
mmhub_v3_0_1.c \
mmhub_v3_0_2.c \
mmhub_v3_3.c \
mmhub_v9_4.c \
mxgpu_ai.c \
mxgpu_nv.c \
Expand All @@ -334,6 +368,7 @@ SRCS+= amdgpu_afmt.c \
nbio_v7_4.c \
nbio_v7_7.c \
nbio_v7_9.c \
nbio_v7_11.c \
navi10_ih.c \
nv.c \
psp_v3_1.c \
Expand Down Expand Up @@ -371,6 +406,8 @@ SRCS+= amdgpu_afmt.c \
umc_v6_7.c \
umc_v8_10.c \
umc_v8_7.c \
umc_v12_0.c \
umsch_mm_v4_0.c \
uvd_v3_1.c \
uvd_v4_2.c \
uvd_v5_0.c \
Expand All @@ -386,11 +423,13 @@ SRCS+= amdgpu_afmt.c \
vcn_v3_0.c \
vcn_v4_0.c \
vcn_v4_0_3.c \
vcn_v4_0_5.c \
vega10_ih.c \
vega10_reg_init.c \
vega20_ih.c \
vega20_reg_init.c \
vi.c
vi.c \
vpe_v6_1.c

# amdxcp
SRCS+= amdgpu_xcp_drv.c
Expand All @@ -413,8 +452,11 @@ SRCS+= amdgpu_dm_color.c \
dc_fpu.c

# display/dc/basics
SRCS+= conversion.c \
SRCS+= bw_fixed.c \
conversion.c \
custom_float.c \
dc_common.c \
dce_calcs.c \
fixpt31_32.c \
vector.c

Expand All @@ -434,11 +476,6 @@ SRCS+= bios_parser_common.c \
command_table_helper_dce60.c \
command_table_helper_dce80.c

# display/dc/calcs
SRCS+= bw_fixed.c \
custom_float.c \
dce_calcs.c

# display/dc/core
SRCS+= dc_debug.c \
dc_hw_sequencer.c \
Expand Down Expand Up @@ -477,12 +514,12 @@ SRCS+= dce_abm.c \
dmub_outbox.c

# display/dc/dce100
SRCS+= dce100_hw_sequencer.c \
SRCS+= dce100_hwseq.c \
dce100_resource.c

# display/dc/dce110
SRCS+= dce110_compressor.c \
dce110_hw_sequencer.c \
dce110_hwseq.c \
dce110_mem_input_v.c \
dce110_opp_csc_v.c \
dce110_opp_regamma_v.c \
Expand All @@ -494,11 +531,11 @@ SRCS+= dce110_compressor.c \

# display/dc/dce112
SRCS+= dce112_compressor.c \
dce112_hw_sequencer.c \
dce112_hwseq.c \
dce112_resource.c

# display/dc/dce120
SRCS+= dce120_hw_sequencer.c \
SRCS+= dce120_hwseq.c \
dce120_resource.c \
dce120_timing_generator.c

Expand All @@ -508,7 +545,7 @@ SRCS+= dce60_hw_sequencer.c \
dce60_timing_generator.c

# display/dc/dce80
SRCS+= dce80_hw_sequencer.c \
SRCS+= dce80_hwseq.c \
dce80_resource.c \
dce80_timing_generator.c

Expand All @@ -531,7 +568,7 @@ SRCS+= dcn10_cm_common.c \
dcn10_dpp_dscl.c \
dcn10_hubbub.c \
dcn10_hubp.c \
dcn10_hw_sequencer.c \
dcn10_hwseq.c \
dcn10_hw_sequencer_debug.c \
dcn10_init.c \
dcn10_ipp.c \
Expand Down Expand Up @@ -682,6 +719,28 @@ SRCS+= dcn32_dccg.c \
SRCS+= dcn321_dio_link_encoder.c \
dcn321_resource.c

# display/dc/dcn35
SRCS+= dcn35_clk_mgr.c \
dcn35_dccg.c \
dcn35_dio_link_encoder.c \
dcn35_dio_stream_encoder.c \
dcn35_dpp.c \
dcn35_dsc.c \
dcn35_dwb.c \
dcn35_fpu.c \
dcn35_hubbub.c \
dcn35_hubp.c \
dcn35_hwseq.c \
dcn35_init.c \
dcn35_mmhubbub.c \
dcn35_opp.c \
dcn35_optc.c \
dcn35_pg_cntl.c \
dcn35_resource.c \
dcn35_smu.c \
dmub_dcn35.c \
irq_service_dcn35.c

# display/dc/clk_mgr/dcn31
SRCS+= dcn31_afmt.c \
dcn31_apg.c \
Expand Down Expand Up @@ -776,6 +835,17 @@ SRCS+= dcn32_fpu.c \
# display/dc/dml/dcn321
SRCS+= dcn321_fpu.c

# display/dc/dml2
SRCS+= display_mode_core.c \
display_mode_util.c \
dml_display_rq_dlg_calc.c \
dml2_dc_resource_mgmt.c \
dml2_mall_phantom.c \
dml2_policy.c \
dml2_translation_helper.c \
dml2_utils.c \
dml2_wrapper.c

# display/dc/gpio/*
SRCS+= gpio_base.c \
gpio_service.c \
Expand Down Expand Up @@ -840,7 +910,6 @@ SRCS+= link_ddc.c \
link_dpms.c \
link_edp_panel_control.c \
link_factory.c \
link_fpga.c \
link_hpd.c \
link_hwss_dio.c \
link_hwss_dio_fixed_vs_pe_retimer.c \
Expand Down Expand Up @@ -951,6 +1020,8 @@ SRCS+= amd_powerplay.c \
smu_v13_0_5_ppt.c \
smu_v13_0_6_ppt.c \
smu_v13_0_7_ppt.c \
smu_v14_0.c \
smu_v14_0_0_ppt.c \
smu_helper.c \
smumgr.c \
tonga_baco.c \
Expand Down Expand Up @@ -999,6 +1070,7 @@ CFLAGS+= -I${SRCDIR}/display
CFLAGS+= -I${SRCDIR}/display/amdgpu_dm
CFLAGS+= -I${SRCDIR}/display/dc
CFLAGS+= -I${SRCDIR}/display/dc/clk_mgr/
CFLAGS+= -I${SRCDIR}/display/dc/hwss
CFLAGS+= -I${SRCDIR}/display/dc/inc
CFLAGS+= -I${SRCDIR}/display/dc/inc/hw
CFLAGS+= -I${SRCDIR}/display/dmub/inc
Expand All @@ -1020,6 +1092,7 @@ CFLAGS+= -I${SRCDIR}/pm/swsmu/inc/pmfw_if
CFLAGS+= -I${SRCDIR}/pm/swsmu/smu11
CFLAGS+= -I${SRCDIR}/pm/swsmu/smu12
CFLAGS+= -I${SRCDIR}/pm/swsmu/smu13
CFLAGS+= -I${SRCDIR}/pm/swsmu/smu14
CFLAGS+= -I${DRM}/scheduler

CFLAGS+= '-DKBUILD_MODNAME="${KMOD}"'
Expand All @@ -1038,6 +1111,8 @@ CFLAGS.gcc+= -Wno-redundant-decls -Wno-unused-but-set-variable
FPUFLAGS= -msse
.endif

CFLAGS.dc.c = -Wno-typedef-redefinition

CFLAGS.dcn_calcs.c= ${FPUFLAGS} -mstack-alignment=4
CFLAGS.dcn_calc_auto.c= ${FPUFLAGS} -mstack-alignment=4
CFLAGS.dcn_calc_math.c= ${FPUFLAGS} -mstack-alignment=4 -Wno-tautological-compare
Expand All @@ -1056,6 +1131,17 @@ CFLAGS.dcn32_fpu.c= ${FPUFLAGS} -mstack-alignment=4
CFLAGS.dcn32_resource.c= ${FPUFLAGS} -mstack-alignment=4
CFLAGS.dcn32_resource_helpers.c= ${FPUFLAGS} -mstack-alignment=4
CFLAGS.dcn321_fpu.c= ${FPUFLAGS} -mstack-alignment=4
CFLAGS.dcn35_fpu.c= ${FPUFLAGS} -mstack-alignment=4

CFLAGS.display_mode_core.c = ${FPUFLAGS} -mstack-alignment=4 -Wno-typedef-redefinition
CFLAGS.display_mode_util.c = ${FPUFLAGS} -mstack-alignment=4 -Wno-typedef-redefinition
CFLAGS.dml_display_rq_dlg_calc.c = ${FPUFLAGS} -mstack-alignment=4 -Wno-typedef-redefinition
CFLAGS.dml2_dc_resource_mgmt.c = ${FPUFLAGS} -mstack-alignment=4 -Wno-typedef-redefinition
CFLAGS.dml2_mall_phantom.c = ${FPUFLAGS} -mstack-alignment=4 -Wno-typedef-redefinition
CFLAGS.dml2_policy.c = ${FPUFLAGS} -mstack-alignment=4 -Wno-typedef-redefinition
CFLAGS.dml2_translation_helper.c = ${FPUFLAGS} -mstack-alignment=4 -Wno-typedef-redefinition
CFLAGS.dml2_utils.c = ${FPUFLAGS} -mstack-alignment=4 -Wno-typedef-redefinition
CFLAGS.dml2_wrapper.c = ${FPUFLAGS} -mstack-alignment=4 -Wno-typedef-redefinition

CFLAGS.display_mode_lib.c= ${FPUFLAGS} -mstack-alignment=4
CFLAGS.display_mode_vba.c= ${FPUFLAGS} -mstack-alignment=4
Expand Down Expand Up @@ -1099,6 +1185,7 @@ CWARNFLAGS.amdgpu_device.c= -Wno-missing-prototypes -Wno-unused-but-set-variab
CWARNFLAGS.amdgpu_discovery.c= -Wno-unused-function
CWARNFLAGS.amdgpu_dm_debugfs.c= -Wno-pointer-bool-conversion -Wno-unused-but-set-variable
CWARNFLAGS.amdgpu_fence.c= -Wno-unused-variable
CWARNFLAGS.amdgpu_fdinfo.c= -Wno-unused-but-set-variable
CWARNFLAGS.amdgpu_gfx.c= -Wno-unused-but-set-variable -Wno-tautological-overlap-compare
CWARNFLAGS.amdgpu_ioc32.c= -Wno-missing-prototypes
CWARNFLAGS.amdgpu_pm.c= -Wno-unused-const-variable
Expand Down Expand Up @@ -1161,7 +1248,7 @@ CWARNFLAGS.vcn_v4_0.c= -Wno-unused-but-set-variable
CWARNFLAGS.vcn_v4_0_3.c= -Wno-unused-function

# display/amdgpu_dm
CWARNFLAGS.amdgpu_dm_helpers.c= -Wno-int-in-bool-context
CWARNFLAGS.amdgpu_dm_helpers.c= -Wno-int-in-bool-context -Wno-uninitialized
CWARNFLAGS.amdgpu_dm_mst_types.c= -Wno-unused-but-set-variable -Wno-missing-prototypes
CWARNFLAGS.amdgpu_dm_plane.c= -Wno-missing-prototypes
CWARNFLAGS.amdgpu_dm_pp_smu.c= -Wno-missing-prototypes -Wno-incompatible-function-pointer-types
Expand Down Expand Up @@ -1199,12 +1286,12 @@ CWARNFLAGS.dce_opp.c= -Wno-missing-prototypes
CWARNFLAGS.dce_panel_cntl.c= -Wno-unused-but-set-variable
CWARNFLAGS.dce100_resource.c= -Wno-missing-prototypes -Wno-initializer-overrides
CWARNFLAGS.dce110_compressor.c= -Wno-missing-prototypes
CWARNFLAGS.dce110_hw_sequencer.c= -Wno-missing-prototypes
CWARNFLAGS.dce110_hwseq.c= -Wno-missing-prototypes
CWARNFLAGS.dce110_mem_input_v.c= -Wno-missing-prototypes
CWARNFLAGS.dce110_resource.c= -Wno-missing-prototypes -Wno-initializer-overrides
CWARNFLAGS.dce110_timing_generator.c= -Wno-unused-but-set-variable
CWARNFLAGS.dce112_resource.c= -Wno-missing-prototypes -Wno-initializer-overrides
CWARNFLAGS.dce120_hw_sequencer.c= -Wno-unused-const-variable
CWARNFLAGS.dce120_hwseq.c= -Wno-unused-const-variable
CWARNFLAGS.dce120_resource.c= -Wno-missing-prototypes -Wno-initializer-overrides
CWARNFLAGS.dce120_timing_generator.c= -Wno-missing-prototypes
CWARNFLAGS.dce60_timing_generator.c= -Wno-missing-prototypes
Expand All @@ -1216,7 +1303,7 @@ CWARNFLAGS.rv1_clk_mgr_vbios_smu.c= -Wno-missing-prototypes
CWARNFLAGS.rv1_clk_mgr.c= -Wno-missing-prototypes
CWARNFLAGS.dcn10_dpp.c= -Wno-missing-prototypes
CWARNFLAGS.dcn10_dpp_dscl.c= -Wno-missing-prototypes
CWARNFLAGS.dcn10_hw_sequencer.c= -Wno-missing-prototypes -Wno-unused-but-set-variable -Wno-unused-variable
CWARNFLAGS.dcn10_hwseq.c= -Wno-missing-prototypes -Wno-unused-but-set-variable -Wno-unused-variable
CWARNFLAGS.dcn10_hubp.c= -Wno-missing-prototypes
CWARNFLAGS.dcn10_link_encoder.c= -Wno-unused-but-set-variable
CWARNFLAGS.dcn10_stream_encoder.c= -Wno-unused-but-set-variable
Expand Down Expand Up @@ -1307,6 +1394,8 @@ CWARNFLAGS.dcn32_resource.c= -Wno-missing-prototypes -Wno-unused-but-set-variab
CWARNFLAGS.dcn32_resource_helpers.c= -Wno-missing-prototypes -Wno-unused-but-set-variable
CWARNFLAGS.dcn321_fpu.c= -Wno-unused-but-set-variable
CWARNFLAGS.dcn321_resource.c= -Wno-initializer-overrides -Wno-unused-const-variable
CWARNFLAGS.dcn35_clk_mgr.c= -Wno-incompatible-pointer-types
CWARNFLAGS.dcn35_resource.c= -Wno-initializer-overrides
CWARNFLAGS.fixpt31_32.c= -Wno-unused-but-set-variable -Wno-incompatible-pointer-types -Wno-unused-const-variable

CWARNFLAGS.hw_ddc.c= -Wno-unused-but-set-variable
Expand Down
7 changes: 7 additions & 0 deletions drivers/dma-buf/dma-fence.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,13 @@ dma_fence_is_later(struct dma_fence *f1,
return (__dma_fence_is_later(f1->seqno, f2->seqno, f1->ops));
}

bool
dma_fence_is_later_or_same(struct dma_fence *f1, struct dma_fence *f2)
{

return (f1 == f2 || dma_fence_is_later(f1, f2));
}

/*
* return the chronologically later fence
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/dma-buf/dma-resv.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ void dma_resv_add_fence(struct dma_resv *obj, struct dma_fence *fence,

dma_resv_list_entry(fobj, i, obj, &old, &old_usage);
if ((old->context == fence->context && old_usage >= usage &&
dma_fence_is_later(fence, old)) ||
dma_fence_is_later_or_same(fence, old)) ||
dma_fence_is_signaled(old)) {
dma_resv_list_set(fobj, i, fence, usage);
dma_fence_put(old);
Expand Down
Loading