From: Aric Cyr
DC version 3.2.212 brings along the following fixes:
- Fix DPIA AUX timeout issue
- Add HUBP surface flip interrupt handler
- Fix dpms_off issue when disabling bios mode
- Update SubVP Visual Confirm
- Program pipes for ODM when removing planes
- Use min transition for all SubVP p
From: Anthony Koo
- New boot options to enable USB4 DP BW Allocation mode in DPIA
Reviewed-by: Aric Cyr
Acked-by: Tom Chung
Signed-off-by: Anthony Koo
---
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/am
From: Ilya Bakoulin
[Why]
Polling SINK_STATUS DPCD can cause some non-DP2.0 LTTPR hubs to hang and
no longer respond to AUX.
[How]
As a workaround for the problem hubs, and also to more closely match
DP spec 8b10b behavior, don't poll for intra-hop AUX reply indication
on 8b10b-encoded links.
R
From: Aurabindo Pillai
[Why]
A hack was used to access DWB register due to difference in the register
naming convention which was not compatible with existing SR/SRI* macros.
The additional macro needed were added to dwb ip specific header file
(dcnxx_dwb.h) instead of soc resource file (dcnxx_re
From: Dillon Varone
[WHY?]
Max number of lines that can be used for prefetch due to type constraints is
63.75.
[HOW?]
Enforce maximum prefetch lines as 63.75.
Reviewed-by: Jun Lei
Acked-by: Tom Chung
Signed-off-by: Dillon Varone
---
.../gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.h
From: Dillon Varone
[WHY?]
DCN32 uses fclk pstate watermarks for dummy pstate, and must always be
supported.
[HOW?]
Validation needs to be run with fclk pstate latency set
as the dummy pstate latency to get correct prefetch and bandwidth outputs.
Reviewed-by: Jun Lei
Acked-by: Tom Chung
Signe
From: Dillon Varone
[Description]
Prefetch calculation loop was not exiting until utilizing all of vstartup if it
failed once. Locals need to be reset on each iteration of the loop.
Reviewed-by: Jun Lei
Acked-by: Tom Chung
Signed-off-by: Dillon Varone
---
drivers/gpu/drm/amd/display/dc/dml/
From: Roman Li
[Why]
dcn314 uses optc2_configure_crc() that wraps
optc1_configure_crc() + set additional registers
not applicable to dcn314.
It's not critical but when used leads to warning like:
WARNING: drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c
Call Trace:
generic_reg_set_ex+0x6d/0x
From: Alvin Lee
[Description]
- When transitioning a pipe in use (non-phantom) to become
a phantom pipe, we must fully disable the pipe first before
doing any phantom pipe programming
- Move phantom OTG enablement to after "regular" front-end
programming sequence (including wait for vupdate
From: Dillon Varone
[WHY?]
Subvp src/dst stream rectangles are not being created with the same scaling
factors as the main stream.
[HOW?]
Make sure subvp stream src rectangle scales its height to have the same src/dst
ratio as the main stream.
Reviewed-by: Alvin Lee
Reviewed-by: Jun Lei
Acked
From: Alvin Lee
[Description]
- If we're enabling phantom pipe for a high
link rate display we could
fail DML on the phantom pipe since it's
set to virtual signal
- Therefore don't consider Output BPP for
phantom pipe
Reviewed-by: Dillon Varone
Acked-by: Tom Chung
Signed-off-by: Alvin
From: Aurabindo Pillai
[Why&How]
Firmware headers dictate that gpio_pin array only has a size of 8. The
count returned from vbios however is greater than 8.
Fix this by not using array indexing but incrementing the pointer since
gpio_pin definition in atomfirmware.h is hardcoded to size 8
Revie
From: George Shen
[Why]
The cursor size (in memory) is currently incorrectly calculated,
resulting not enough CAB being allocated for static screen cursor
in MALL refresh. This results in cursor image corruption.
[How]
Use cursor pitch instead of cursor width when calculating cursor size.
Update
From: Dillon Varone
[WHY?]
After applying pipesplit flags, DML can select a different configuration upon
revalidation, despite the desired one still being valid.
[HOW?]
Check the configuration is still has mode support, and apply it.
Reviewed-by: Martin Leung
Acked-by: Tom Chung
Signed-off-by
From: Martin Leung
why and how:
causes unstable on certain surface format/mpo transitions
This reverts commit 480c320055c475b342703d4b53f6ed1d922adf21
Reviewed-by: Wesley Chalmers
Acked-by: Tom Chung
Signed-off-by: Martin Leung
---
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c | 3 +++
From: Jun Lei
[why]
HW recommend we enable this for better DF QoS for NV32
[how]
Add interfaces to hubbub to program register
Add initialization as part of init_hw
Add default settings for NV32
Add registry override for debug/tuning
Reviewed-by: Alvin Lee
Acked-by: Tom Chung
Signed-off-by: Ju
From: Dmytro Laktyushkin
Unbounded requesting is getting configured for odm mode calculations which
is incorrect. This change checks whether mode requires odm ahead of time.
Reviewed-by: Jun Lei
Acked-by: Tom Chung
Signed-off-by: Dmytro Laktyushkin
---
drivers/gpu/drm/amd/display/dc/dcn315/d
From: George Shen
[Why]
Certain high resolution displays exhibit DCC line corruption with SubVP
enabled. This is likely due to insufficient DCC meta data buffered
immediately after the mclk switch.
[How]
Add workaround to increase phantom pipe vactive height by
meta_row_height number of lines, t
From: Charlene Liu
[why]
1. correct dram_channel_width (was hard coded to 4 for 32bit)
2. use dm's is_hvm_enable status flag for hostvm_en input for dml.
3. add a function to override to all dcn3.1x.
Reviewed-by: Dmytro Laktyushkin
Acked-by: Tom Chung
Signed-off-by: Charlene Liu
---
.../disp
From: George Shen
[Why]
For DCN3.2 and DCN3.21, VBIOS has switch to using v3.0 of the VRAM
info struct. We should read and override the VRAM info in driver with
values provided by VBIOS to support memory downbin cases.
Reviewed-by: Alvin Lee
Acked-by: Tom Chung
Signed-off-by: George Shen
---
From: Dmytro Laktyushkin
Stream only configurations do not require DCFCLK, SOCCLK, DPPCLK
or FCLK. They also always allow pstate change.
Reviewed-by: Charlene Liu
Acked-by: Tom Chung
Signed-off-by: Dmytro Laktyushkin
---
.../drm/amd/display/dc/dml/dcn31/dcn31_fpu.c | 18 ++
From: Zhongwei Zhang
[Why]
disable_vbios_mode_if_required() will set dpms_off to false
during boot when pixel clk dismatches with driver requires.
This will cause extra backlight on and off if OS call 2
times setmode.
[How]
Set dpms_off to true to keep power_off and
let OS control BL by display'
From: Dillon Varone
[WHY?]
Software state expects pipes to be configured for ODM, but due to the transition
occurring on a plane disable, the ODM enablement code is not run.
[HOW?]
Update ODM when removing a plane, and dynamic ODM is active. Also acquire pipe
lock when removing a plane.
Reviewe
From: Liu Xi
[Why and how]
Clean up some irq service code for dcn201.
Reviewed-by: Charlene Liu
Acked-by: Tom Chung
Signed-off-by: Liu Xi
---
.../display/dc/irq/dcn201/irq_service_dcn201.c | 17 ++---
.../display/dc/irq/dcn201/irq_service_dcn201.h | 2 +-
2 files changed, 11
From: Stylon Wang
[Why]
Since introduction of patch "Query DPIA HPD status.", link detection at
boot could be accessing DPIA AUX, which will not succeed until
DMUB outbox messaging is enabled and results in below dmesg logs:
[ 160.840227] [drm:amdgpu_dm_process_dmub_aux_transfer_sync [amdgpu]]
From: Alvin Lee
[Description]
- Whenever disabling a phantom pipe, we must run through the
minimal transition sequence
- In the case where SetVisibility = false for the main pipe,
we also need to run through the min transtion when disabling
the phantom pipes
Reviewed-by: Jun Lei
Acked-by:
From: Rodrigo Siqueira
On IGT, there is a test named amd_hotplug, and when the subtest basic is
executed on DCN31, we get the following error:
[drm] *ERROR* [CRTC:71:crtc-0] flip_done timed out
[drm] *ERROR* flip_done timed out
[drm] *ERROR* [CRTC:71:crtc-0] commit wait timed out
[drm] *ERROR* f
From: David Galiffi
[Why]
The visual confirm bar is displayed on all displays, but is only
updated on a flip. If an update causes SubVP to be disabled on
all displays, but there are no updates on the other displays, it
will lead to stale information displayed on the non-active
displays. An exampl
From: Stylon Wang
[Why]
Some DPIA AUX replies have incorrect data length from original request.
This could lead to overwriting of destination buffer if reply length is
larger, which could cause invalid access to stack since many destination
buffers are declared as local variables.
[How]
Check fo
This version brings along following fixes:
- Fix DPIA AUX timeout issue
- Add HUBP surface flip interrupt handler
- Fix dpms_off issue when disabling bios mode
- Update SubVP Visual Confirm
- Program pipes for ODM when removing planes
- Use min transition for all SubVP plane add/remove
- Support p
tree/branch:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
branch HEAD: b6fc3fddade7a194bd141a49f2689e50f796ef46 Add linux-next specific
files for 20221108
Error/Warning reports:
https://lore.kernel.org/linux-mm/202210111318.mbufyhps-...@intel.com
https
On 11/7/22 09:37, Carlos Bilbao wrote:
> Correct descriptions of two last fields of enum pipe_split_policy, updating
> comments with proper field names.
>
> Signed-off-by: Carlos Bilbao
Reviewed-by: Harry Wentland
Harry
> ---
> drivers/gpu/drm/amd/display/dc/dc.h | 9 +
> 1 file chan
Am 08.11.22 um 18:30 schrieb Zhang, Bokun:
[AMD Official Use Only - General]
Please find below patch after passing code style check
Thanks!
I'm not sure which coding style check you use, but when I use
checkpatch.pl it points out tons of problems with this patch.
-Original Message
[AMD Official Use Only - General]
Please find below patch after passing code style check
Thanks!
-Original Message-
From: Bokun Zhang
Sent: Tuesday, November 8, 2022 12:29 PM
To: amd-gfx@lists.freedesktop.org
Cc: Zhang, Bokun ; Liu01, Tong (Esther)
Subject: [PATCH] drm/amdgpu: add vra
- Move TMR region from top of FB to 2MB for FFBM, so we need to
reserve TMR region firstly to make sure TMR can be allocated at 2MB
Signed-off-by: Tong Liu01
Signed-off-by: Bokun Zhang
---
.../gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 106 ++
drivers/gpu/drm/amd/amdgpu/amdgp
On 2022-10-28 18:48, Brian Norris wrote:
If there are multiple amdgpu devices, this list processing can be racy.
We're really treating this like a per-device list, so make that explicit
and remove the global list.
I agree with the problem and the solution. See one comment inline.
Signed-of
Hi,
Applying this patch to amd-staging-drm-next, with checkpatch.pl enabled,
generates the following output. Perhaps those issues should be address and
fixed.
$git am ~/patches/tongliu01/\[PATCH]\ drm_amdgpu\:\ add\ vram\ reservation\
logic\ based\ on\ vram_usagebyfirmware_v2_2\ -\ Tong\ Liu01
On Mon, Nov 7, 2022 at 9:37 AM Carlos Bilbao wrote:
>
> Correct descriptions of two last fields of enum pipe_split_policy, updating
> comments with proper field names.
>
> Signed-off-by: Carlos Bilbao
Acked-by: Alex Deucher
> ---
> drivers/gpu/drm/amd/display/dc/dc.h | 9 +
> 1 file c
On Fri, Oct 28, 2022 at 6:48 PM Brian Norris wrote:
>
> If there are multiple amdgpu devices, this list processing can be racy.
>
> We're really treating this like a per-device list, so make that explicit
> and remove the global list.
>
> Signed-off-by: Brian Norris
@Kuehling, Felix @Kim, Jonath
On Fri, Nov 4, 2022 at 10:06 AM LongJun Tang wrote:
>
> In dcn*_clock_source_create when dcn*_clk_src_construct fails allocated
> clk_src needs release. A local attack could use this to cause memory
> exhaustion.
>
> Signed-off-by: LongJun Tang
Applied. Thanks!
Alex
> ---
> drivers/gpu/drm/a
Applied. Thanks!
Alex
On Mon, Nov 7, 2022 at 4:33 AM Paulo Miguel Almeida
wrote:
>
> One-element arrays are deprecated, and we are replacing them with
> flexible array members instead. So, replace one-element array with
> flexible-array member in structs _ATOM_GPIO_PIN_ASSIGNMENT,
> _ATOM_DISPL
On Mon, Nov 7, 2022 at 12:45 PM Luben Tuikov wrote:
>
> Abstract RAS I2C EEPROM addresses from chip names, and set their macro
> definition names to the address they set, not the chip they attach
> to. Since most chips either use I2C EEPROM address 0 or 4h for the RAS
> table start offset, thi
Applied. Thanks
On Fri, Nov 4, 2022 at 6:05 AM Hanjun Guo wrote:
>
> When the radeon driver reads the bios information from ACPI
> table in radeon_acpi_vfct_bios(), it misses to call acpi_put_table()
> to release the ACPI memory after the init, so add acpi_put_table()
> properly to fix the memor
On 2022-11-08 09:31, Alex Deucher wrote:
> On Mon, Nov 7, 2022 at 12:23 PM Luben Tuikov wrote:
>>
>> Remove redundant EEPROM_I2C_MADDR_54H address, since we already have it
>> represented (ARCTURUS), and since we don't include the I2C device type
>> identifier in EEPROM memory addresses, i.e. that
[AMD Official Use Only - General]
Reviewed-by: Kent Russell
> -Original Message-
> From: amd-gfx On Behalf Of Luben
> Tuikov
> Sent: Monday, November 7, 2022 12:44 PM
> To: AMD Graphics
> Cc: Zhou1, Tao ; Deucher, Alexander
> ; Tuikov, Luben ; Li,
> Candice
> Subject: [PATCH] drm/
On Mon, Nov 7, 2022 at 12:23 PM Luben Tuikov wrote:
>
> Remove redundant EEPROM_I2C_MADDR_54H address, since we already have it
> represented (ARCTURUS), and since we don't include the I2C device type
> identifier in EEPROM memory addresses, i.e. that high up in the device
> abstraction--we only u
Yeah, I mean the code looks correct.
It's just that style problems are usually pointed out by automated
checkers, especially things like dos line endings.
So get that fixed and we can push it immediately.
Thanks,
Christian.
Am 08.11.22 um 14:49 schrieb Chang, HaiJun:
[AMD Official Use Only
On 11/8/2022 6:05 AM, Kenneth Feng wrote:
enable mode1 reset and prioritize debug port on msu_v13_0_10
as a more reliable message processing
v2 - move mode1 reset callback to smu_v13_0_0_ppt.c
Signed-off-by: Kenneth Feng
---
drivers/gpu/drm/amd/amdgpu/soc21.c| 1 +
drivers/g
[AMD Official Use Only - General]
+ Bokun to help addressing the coding style problem in MKM side.
-Original Message-
From: Koenig, Christian
Sent: Tuesday, November 8, 2022 8:53 PM
To: Liu01, Tong (Esther) ; amd-gfx@lists.freedesktop.org
Cc: Quan, Evan ; Chen, Horace ; Tuikov,
Luben ;
On Tue, Nov 8, 2022 at 12:48 PM wrote:
>
> return is not a function, parentheses are not required
>
> Signed-off-by: KaiLong Wang
ACPICA material is to be submitted to the upstream project at GitHub
(please see MAINTAINERS for the link).
You may notice, however, that your changes do not align w
Hi Esther
well there are a couple of things which you need to address before
getting this merged.
First of all the patch you send out uses dos line endings instead of the
unix line endings. Not sure how you manage to do that, but please use
"git send-email" instead to avoid that.
Then your
[AMD Official Use Only - General]
Hi @Koenig, Christian,
Refined as your comment. By the way:
if ((start_addr & ATOM_VRAM_OPERATION_FLAGS_MASK) ==
+ (uint32_t)(ATOM_VRAM_BLOCK_SRIOV_MSG_SHARE_RESERVATION <<
+ ATOM_VRAM_OPERATION_FLAGS_SHIFT))
This part is the old code
Move TMR region from top of FB to 2MB for FFBM, so we need to reserve TMR
region firstly to make sure TMR can be allocated at 2MB
Signed-off-by: Tong Liu01
---
.../gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 106 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 50 +
d
Am 08.11.22 um 03:46 schrieb Tong Liu01:
Move TMR region from top of FB to 2MB for FFBM, so we need to reserve TMR
region firstly to make sure TMR can be allocated at 2MB
Signed-off-by: Tong Liu01
---
.../gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 106 ++
drivers/gpu/drm/amd
On Tue, 08 Nov 2022 09:47:46 +0100,
Evan Quan wrote:
>
> We are able to power down the GPU and audio via the GPU driver
> so flag these asics as supporting runtime pm.
>
> Signed-off-by: Evan Quan
> Change-Id: Ib7ea9bfe7b62b98afd63f96a2d98795504e7ae04
Applied now. I dropped the useless change-
We are able to power down the GPU and audio via the GPU driver
so flag these asics as supporting runtime pm.
Signed-off-by: Evan Quan
Change-Id: Ib7ea9bfe7b62b98afd63f96a2d98795504e7ae04
---
sound/pci/hda/hda_intel.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/pci/hda/hda_intel.
On 11/7/22 20:25, Daniel Vetter wrote:
>> Move dma_buf_mmap() function to the dynamic locking specification by
>> taking the reservation lock. Neither of the today's drivers take the
>> reservation lock within the mmap() callback, hence it's safe to enforce
>> the locking.
>>
>> Acked-by: Sumit Sem
[AMD Official Use Only - General]
Hi Michel,
I reproduced the glxgears 400fps scenario locally. The issue is caused by the
patch5 "drm/amdgpu: Improve the software rings priority scheduler" which slows
down the low priority scheduler thread if high priority ib is under executing.
I'll drop thi
58 matches
Mail list logo