The old setup function drm_fbdev_shmem_setup() is unused. Remove it
and its internal callbacks. New drivers should call drm_client_setup()
instead.
Signed-off-by: Thomas Zimmermann
---
drivers/gpu/drm/drm_fbdev_shmem.c | 120 +-
include/drm/drm_fbdev_shmem.h | 6
Rework fbdev probing to support fbdev_probe in struct drm_driver
and remove the old fb_probe callback. Provide an initializer macro
for struct drm_driver that sets the callback according to the kernel
configuration.
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbde
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.
The vboxvideo driver specifies a preferred color mode of 32. As this
is the default if no format has been given, leave it out
Store instances of drm_fb_helper and struct omap_fbdev separately.
This will allow omapdrm to use the common fbdev client, which allocates
its own instance of struct drm_fb_helper.
There is at most one instance of each per DRM device, so both can be
referenced directly from the omap and DRM device
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.
The amdgpu driver specifies a preferred color mode depending on
the available video memory, with a default of 32. Adapt this f
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.
Signed-off-by: Thomas Zimmermann
Cc: Dave Airlie
Cc: Sean Paul
Cc: Thomas Zimmermann
---
drivers/gpu/drm/udl/udl_drv.c |
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.
The bochs driver specifies a preferred color mode of 32. As this
is the default if no format has been given, leave it out enti
Rework fbdev probing to support fbdev_probe in struct drm_driver
and remove the old fb_probe callback. Provide an initializer macro
for struct drm_driver that sets the callback according to the kernel
configuration.
Call drm_client_setup_with_color_mode() to run the kernel's default
client setup f
On 21/08/2024 14:59, Thomas Zimmermann wrote:
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.
The meson driver specifies a preferred color mode of 32. As this
is the defaul
[AMD Official Use Only - AMD Internal Distribution Only]
Series is:
Reviewed-by: Alex Deucher
From: Huang, Trigger
Sent: Wednesday, August 21, 2024 4:38 AM
To: amd-gfx@lists.freedesktop.org
Cc: Khatri, Sunil ; Deucher, Alexander
; Huang, Trigger
Subject: [PATC
On Wed, 21 Aug 2024 at 14:04, Thomas Zimmermann wrote:
>
> Call drm_client_setup_with_fourcc() to run the kernel's default client
> setup for DRM. Set fbdev_probe in struct drm_driver, so that the client
> setup can start the common fbdev client.
>
> v2:
> - use drm_client_setup_with_fourcc()
>
>
Hi Dave, Sima,
Fixes for 6.11.
The following changes since commit fee9d135e2fd5963a7f466cd1ef2060731a1ab29:
Merge tag 'mediatek-drm-fixes-20240805' of
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into
drm-fixes (2024-08-16 13:16:47 +1000)
are available in the Git repos
On 21.08.24 14:03, Christian König wrote:
Rework how VM operations synchronize to submissions. Provide an
amdgpu_sync container to the backends instead of an reservation
object and fill in the amdgpu_sync object in the higher layers
of the code.
No intended functional change, just prepares for u
In aperture_remove_conflicting_pci_devices(), we currently only
call sysfb_disable() on vga class devices. This leads to the
following problem when the pimary device is not VGA compatible:
1. A PCI device with a non-VGA class is the boot display
2. That device is probed first and it is not a VGA
[Public]
Hi Jiri:
Please apply above two patches on top of latest
https://gitlab.freedesktop.org/agd5f/linux/-/commits/amd-staging-drm-next, and
give a sanity test on 4k60 over Lenovo HDMI output.
The patch posted in the gitlab forum has been broken down to below three
patches:
On 2024-08-21 08:03, Christian König wrote:
This patch tries to solve the basic problem we also need to sync to
the KFD fences of the BO because otherwise it can be that we clear
PTEs while the KFD queues are still running.
This is going to trigger a lot of phantom KFD evictions and will tank
On Wed, Aug 21, 2024 at 3:45 AM Ma Ke wrote:
>
> Instead of using state->fb->obj[0] directly, get object from framebuffer
> by calling drm_gem_fb_get_obj() and return error code when object is
> null to avoid using null object of framebuffer.
>
> Cc: sta...@vger.kernel.org
> Fixes: 5d945cbcd4b1 ("
On Wed, Aug 21, 2024 at 2:33 AM Jinjie Ruan wrote:
>
> The sparse tool complains as follows:
>
> drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c:1071:22:
> warning:
> symbol 'dcn35_fpga_funcs' was not declared. Should it be static?
>
> This symbol is not used outsid
Applied 1-4.
Alex
On Wed, Aug 21, 2024 at 2:33 AM Jinjie Ruan wrote:
>
> The sparse tool complains as follows:
>
> drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c:6853:56:
> warning:
> symbol 'core_dcn4_g6_temp_read_blackout_table' was not declar
On Tue, Aug 13, 2024 at 9:57 AM Tvrtko Ursulin wrote:
>
> From: Tvrtko Ursulin
>
> Convert fdinfo memory stats to use the common drm_print_memory_stats
> helper.
>
> This achieves alignment with the common keys as documented in
> drm-usage-stats.rst, adding specifically drm-total- key the driver
On 8/18/2024 01:56, Thomas Weißschuh wrote:
The value of "min_input_signal" returned from ATIF on a Framework AMD 13
is "12". This leads to a fairly bright minimum display backlight.
Introduce a quirk to override "min_input_signal" to "0" which leads to a
much lower minimum brightness, which is
On 2024-08-21 08:03, Christian König wrote:
Rework how VM operations synchronize to submissions. Provide an
amdgpu_sync container to the backends instead of an reservation
object and fill in the amdgpu_sync object in the higher layers
of the code.
No intended functional change, just prepares f
On Tue, Aug 13, 2024 at 9:57 AM Tvrtko Ursulin wrote:
>
> From: Tvrtko Ursulin
>
> Currently it is not well defined what is drm-memory- compared to other
> categories.
>
> In practice the only driver which emits these keys is amdgpu and in them
> exposes the current resident buffer object memory
On Wed, Aug 21, 2024 at 4:43 PM Alex Deucher wrote:
>
> On Tue, Aug 13, 2024 at 9:57 AM Tvrtko Ursulin wrote:
> >
> > From: Tvrtko Ursulin
> >
> > Convert fdinfo memory stats to use the common drm_print_memory_stats
> > helper.
> >
> > This achieves alignment with the common keys as documented i
On 8/18/2024 01:56, Thomas Weißschuh wrote:
Panels using a PWM-controlled backlight source do not have a standard
way to communicate their valid PWM ranges.
On x86 the ranges are read from ACPI through driver-specific tables.
The built-in ranges are not necessarily correct, or may grow stale if a
On 8/18/2024 01:56, Thomas Weißschuh wrote:
Not all platforms provide correct PWM backlight capabilities through ATIF.
I don't think correct is an accurate term here. How about 'optimial'?
Use the generic drm panel minimum backlight quirk infrastructure to
override the capabilities where nec
On 8/18/2024 01:56, Thomas Weißschuh wrote:
The value of "min_input_signal" returned from ATIF on a Framework AMD 13
is "12". This leads to a fairly bright minimum display backlight.
Add a quirk to override that the minimum backlight PWM to "0" which
leads to a much lower minimum brightness, whi
On 8/18/2024 01:56, Thomas Weißschuh wrote:
From: "Dustin L. Howett"
I have tested these panels on the Framework Laptop 13 AMD with firmware
revision 3.05 (latest at time of submission).
Signed-off-by: Dustin L. Howett
When you send someone else's patch you need to add your own S-o-b as
we
If a queue is being destroyed but causes a HWS hang on removal, the KFD
may issue an unnecessary gpu reset if the destroyed queue can be fixed
by a queue reset.
This is because the queue has been removed from the KFD's queue list
prior to the preemption action on destroy so the reset call will fai
On 2024-08-21 17:17, Jonathan Kim wrote:
If a queue is being destroyed but causes a HWS hang on removal, the KFD
may issue an unnecessary gpu reset if the destroyed queue can be fixed
by a queue reset.
This is because the queue has been removed from the KFD's queue list
prior to the preemption
This DC patchset brings improvements in multiple areas. In summary, we have:
* Fix MS/MP mismatches in dml21 for dcn401
* Resolved Coverity issues
* Add back quality EASF and ISHARP and dc dependency changes
* Add sharpness support for windowed YUV420 video
* Add improvements for text display and
From: Alvin Lee
[Description]
Skipping clock updates is not a hard requirement for overclocking
and only an optimization. Remove the skip as this can cause issues
for FAMS transitions during the overclock sequence. If FAMS
is enabled we must disable UCLK switch on any full update (which
requires
[AMD Official Use Only - AMD Internal Distribution Only]
Ignore this series of emails. Command failed.
Zaeem
-Original Message-
From: Mohamed, Zaeem
Sent: Wednesday, August 21, 2024 5:52 PM
To: amd-gfx@lists.freedesktop.org
Cc: Wentland, Harry ; Li, Sun peng (Leo)
; Siqueira, Rodrigo ;
On 2024-08-20 16:25, Alex Deucher wrote:
Pending extended validation.
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 4
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 6 ++
3 fi
From: Xiaogang Chen
When app unmap vm ranges(munmap) kfd/svm starts drain pending page fault and
not handle any incoming pages fault of this process until a deferred work item
got executed by default system wq. The time period of "not handle page fault"
can be long and is unpredicable. That is ad
This DC patchset brings improvements in multiple areas. In summary, we have:
* Fix MS/MP mismatches in dml21 for dcn401
* Resolved Coverity issues
* Add back quality EASF and ISHARP and dc dependency changes
* Add sharpness support for windowed YUV420 video
* Add improvements for text display and
From: Alvin Lee
[Description]
Skipping clock updates is not a hard requirement for overclocking
and only an optimization. Remove the skip as this can cause issues
for FAMS transitions during the overclock sequence. If FAMS
is enabled we must disable UCLK switch on any full update (which
requires
From: Ahmed Muhammad
[why]
post_divider_value should not be 0
Reviewed-by: Charlene Liu
Signed-off-by: Ahmed Muhammad
Signed-off-by: Zaeem Mohamed
---
drivers/gpu/drm/amd/display/dc/dccg/dcn35/dcn35_dccg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/
From: Dillon Varone
[WHY]
Prefetch calculations did not guarantee that bandwidth required in
mode support was less than mode programming which can cause failures.
[HOW]
Fix bandwidth calculations to assume fixed times for OTO schedule,
and choose which schedule to use based on time to fetch pixe
From: Daniel Sa
[WHY]
Remove coverity issues that were originally ignored.
[HOW]
Ran coverity locally on driver, used output report to find existing
coverity issues, resolved them
Reviewed-by: Nicholas Choi
Signed-off-by: Daniel Sa
Signed-off-by: Zaeem Mohamed
---
.../display/dc/dml2/dml21/
From: Alvin Lee
[Description]
Before every full update we must wait for all pending updates to be
cleared - this is particularly important for minimal transitions
because if we don't wait for pending cleared, it will be as if
there was no minimal transition at all. In OTG we must read 3 different
From: Nicholas Kazlauskas
[Why]
Request from PMFW to use GART for clock table transfer tables as
framebuffer is being deprecated on APU.
[How]
Switch over to GART via the allocation flag.
Reviewed-by: Sung joon Kim
Signed-off-by: Nicholas Kazlauskas
Signed-off-by: Zaeem Mohamed
---
.../gpu/
From: Fangzhi Zuo
Synaptics Cascaded Panamera topology needs to unconditionally
acquire root aux for dsc decoding.
Reviewed-by: Roman Li
Signed-off-by: Fangzhi Zuo
Signed-off-by: Zaeem Mohamed
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +-
1 file changed, 1 insertion
From: ChunTao Tso
[Why]
Because sometime DMUB GPINT will time out,
it will cause we return 0 as residency number.
[How]
Retry to avoid this happened.
Reviewed-by: Robin Chen
Signed-off-by: ChunTao Tso
Signed-off-by: Zaeem Mohamed
---
.../gpu/drm/amd/display/dc/dce/dmub_replay.c | 18
From: Nicholas Kazlauskas
[Why]
We want to avoid arming the HPD timer in firmware when preparing for
S0i3 entry when DC is considered in D3.
[How]
Notify DMCUB of the power state transitions so it can decide to arm
the HPD timer for idle in DCN35 only in D0.
Reviewed-by: Nicholas Kazlauskas
Si
From: Aurabindo Pillai
translate_by_source need not be set for DCN401 onwards since cursor
cursor composition comes after scaler in the hardware pipeline.
Hence offset calculation has been reworked, and this setting is not
necessary to be enabled anymore.
Reviewed-by: Rodrigo Siqueira
Signed-of
From: Dennis Chan
Why:
To supported Low Refresh Rate panel for Replay Feature,
Adding some parameters to record Low Refresh Rate information.
Reviewed-by: Robin Chen
Signed-off-by: Dennis Chan
Signed-off-by: Zaeem Mohamed
---
drivers/gpu/drm/amd/display/dc/dc_types.h | 19 +++
From: Samson Tam
[Why]
Previous only applied sharpness for fullscreen YUV420 video.
[How]
Remove fullscrene restriction and apply sharpness for windowed
YUV420 video as well.
Reviewed-by: Jun Lei
Signed-off-by: Samson Tam
Signed-off-by: Zaeem Mohamed
---
drivers/gpu/drm/amd/display/dc/spl/
From: Fangzhi Zuo
Add DSC log in each critical routines to facilitate debugging.
Reviewed-by: Rodrigo Siqueira
Signed-off-by: Fangzhi Zuo
Signed-off-by: Zaeem Mohamed
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 9 +-
.../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 18 +--
.../disp
From: Aric Cyr
This version brings along the following fixes:
- Fix MS/MP mismatches in dml21 for dcn401
- Resolved Coverity issues
- Add back quality EASF and ISHARP and dc dependency changes
- Add sharpness support for windowed YUV420 video
- Add improvements for text display and HDR DWM and MP
From: Samson Tam
[Why]
Tune settings for improved text display.
Handle differences between DWM and MPO in HDR path.
[How]
Update sharpener LBA table.
Use HDR multiplier to calculate scalar matrix coefficients
for HDR RGB MPO path.
Update unit tests.
Reviewed-by: Jun Lei
Signed-off-by: Samson
On Wed, Aug 21, 2024 at 5:59 PM Felix Kuehling wrote:
>
>
> On 2024-08-20 16:25, Alex Deucher wrote:
> > Pending extended validation.
> >
> > Signed-off-by: Alex Deucher
> > ---
> > drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 4
> > drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
KFD's design of unified memory (UM) does not allow users to
configure the size of buffer used in migrating buffer either
from Sysmem to VRAM or vice versa. This patch remedies this
gap, albeit at a coarse level, for workloads that deal with
unregistered memory
Signed-off-by: Ramesh Errabolu
---
Drop unsupported features on smu v14_0_2.
Signed-off-by: Candice Li
Reviewed-by: Yang Wang
---
.../drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 47 ---
1 file changed, 47 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c
b/drivers/gpu/drm/amd/pm/sws
Add p2s table support for a new revision of SMUv13.0.6.
Signed-off-by: Lijo Lazar
Reviewed-by: Hawking Zhang
Reviewed-by: Asad Kamal
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/s
Am 15.08.24 um 02:04 schrieb Alex Deucher:
From: Srinivasan Shanmugam
The cleaner shader is used by the CP firmware to clean LDS and GPRs
between processes on the CUs.
This adds an internal API for GFX IP code to allocate and initialize the
cleaner shader.
Cc: Christian König
Cc: Alex Deuche
Am 15.08.24 um 02:04 schrieb Alex Deucher:
From: Srinivasan Shanmugam
This patch adds a new sysfs interface for running the cleaner shader on
AMD GPUs. The cleaner shader is used to clear GPU memory before it's
reused, which can help prevent data leakage between different processes.
The new sy
Am 15.08.24 um 02:04 schrieb Alex Deucher:
From: Srinivasan Shanmugam
This commit applies isolation enforcement to the GFX and Compute rings
in the gfx_v9_0 module.
The commit sets `amdgpu_gfx_enforce_isolation_ring_begin_use` and
`amdgpu_gfx_enforce_isolation_ring_end_use` as the functions to
Reviewed-by: Christian König for patches #1,
#3-#5,
Acked-by: Christian König for patches #6,
#8-#10, #12, #13, #14, #17.
Some nit picks in patches #2, use of // for comments in patch #11 and
question on patch #15/#16
Really big bug in patch #7, that needs to be addressed.
Regards,
Chri
On 21/08/2024 14:59, Thomas Zimmermann wrote:
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.
The ast driver specifies a preferred color mode of 32. As this
is the default
On 21/08/2024 14:59, Thomas Zimmermann wrote:
Call drm_client_setup_with_fourcc() to run the kernel's default client
setup for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.
Thanks for this whole series.
Reviewed-by: Jocelyn Falempe
v
101 - 161 of 161 matches
Mail list logo