Re: [PATCH v4 20/80] drm/imx/ipuv3: Run DRM default client setup

2024-09-10 Thread Philipp Zabel
mas Zimmermann > Cc: Philipp Zabel > Cc: Shawn Guo > Cc: Sascha Hauer > Cc: Pengutronix Kernel Team > Cc: Fabio Estevam > Acked-by: Javier Martinez Canillas Acked-by: Philipp Zabel regards Philipp

Re: [PATCH 4/4] drm/etnaviv: export client GPU usage statistics via fdinfo

2024-07-02 Thread Philipp Zabel
On Mo, 2024-07-01 at 19:14 +0200, Lucas Stach wrote: > This exposes a accumulated GPU active time per client via the > fdinfo infrastructure. > > Signed-off-by: Lucas Stach > --- > v2: > - new patch > --- > drivers/gpu/drm/etnaviv/etnaviv_drv.c | 32 ++- > 1 file changed,

Re: [PATCH v3 11/27] drm/imx: Don't set struct drm_device.irq_enabled

2021-06-24 Thread Philipp Zabel
andler and > - * drivers can well take care of their interrupts > - */ > - drm->irq_enabled = true; > - > /* >* set max width and height as default value(4096x4096). >* this value would be used to check framebuffer size limitatio

Re: [PATCH 2/2] drm/atomic: Create and use __drm_atomic_helper_crtc_reset() everywhere

2018-11-20 Thread Philipp Zabel
p;state->base; > } > > - state->base.crtc = crtc; > + __drm_atomic_helper_crtc_reset(crtc, &state->base); > } > > static struct drm_crtc_state *mtk_drm_crtc_duplicate_state(struct drm_crtc > *crtc) For the imx-drm and mediatek drivers, Ack

Re: [PATCH v6 11/24] drm/imx: imx-tve: Provide ddc symlink in connector's sysfs

2019-07-29 Thread Philipp Zabel
On Fri, 2019-07-26 at 19:23 +0200, Andrzej Pietrasiewicz wrote: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz Acked-by: Philipp Zabel regards Philipp > --- > drivers/gpu/drm/imx/imx-tve.c | 6 -- > 1 file changed,

Re: [PATCH v6 10/24] drm/imx: imx-ldb: Provide ddc symlink in connector's sysfs

2019-07-29 Thread Philipp Zabel
On Fri, 2019-07-26 at 19:23 +0200, Andrzej Pietrasiewicz wrote: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz Acked-by: Philipp Zabel Thanks! regards Philipp > --- > drivers/gpu/drm/imx/imx-ldb.c | 7 --- >

Re: [PATCH 07/13] drm/mediatek: Provide ddc symlink in hdmi connector sysfs directory

2019-08-01 Thread Philipp Zabel
On Wed, 2019-07-31 at 18:58 +0200, Andrzej Pietrasiewicz wrote: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz > Acked-by: Sam Ravnborg > Reviewed-by: Emil Velikov Reviewed-by: Philipp Zabel regards Philipp > ---

Re: [PATCH] drm/fourcc: add LINEAR modifiers with an exact pitch alignment

2025-01-21 Thread Philipp Zabel
Hi, On Mo, 2025-01-20 at 08:58 +0100, Thomas Zimmermann wrote: > Hi > > > Am 18.01.25 um 03:37 schrieb Marek Olšák: > [...] > > > > 3) Implementing DRM_FORMAT_MOD_LINEAR as having 256B pitch and offset > > alignment. This is what we do today. Even if Intel and some AMD chips > > can do 64B or

[PATCH RFC 3/6] drm/amdgpu: don't query xclk in AMDGPU_INFO_DEV_INFO

2025-07-31 Thread Philipp Zabel
Cache the xclk rate during amdgpu_device_init() and return the cached value in the AMDGPU_INFO_DEV_INFO query. This will allow to avoid waking up the GPU for this query later. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2295 Signed-off-by: Philipp Zabel --- drivers/gpu/drm/amd/amdgpu

[PATCH RFC 6/6] drm/amdgpu: don't wake up the GPU for syncobj feature detection

2025-07-31 Thread Philipp Zabel
Don't wake the GPU if the SYNCOBJ_CREATE/DESTROY/WAIT ioctls are used to detect syncobj features before the GPU is powered up. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2295 Signed-off-by: Philipp Zabel --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 1 file chang

[PATCH RFC 2/6] drm/amdgpu: don't wake up the GPU when opening the device

2025-07-31 Thread Philipp Zabel
Don't wake the GPU when opening the device. Delay amdgpu_fpriv (and with it VM) initialization until the first IOCTL that wakes the GPU anyway, unless it is already active. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2295 Signed-off-by: Philipp Zabel --- drivers/gpu/drm/amd/a

[PATCH RFC 5/6] drm/amdgpu: don't wake up the GPU for mmGB_ADDR_CONFIG register read

2025-07-31 Thread Philipp Zabel
Don't wake the GPU if libdrm queries the mmGB_ADDR_CONFIG register value during amdgpu_query_gpu_info_init(). Instead, return the already cached value adev->gfx.config.gb_addr_config. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2295 Signed-off-by: Philipp Zabel --- drivers/gpu

[PATCH RFC 1/6] drm/amdgpu: don't wake up the GPU for some IOCTLs

2025-07-31 Thread Philipp Zabel
From: Alex Deucher Don't wake the GPU if the IOCTL doesn't need to power up the GPU. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2295 Signed-off-by: Alex Deucher Tested-by: Philipp Zabel Signed-off-by: Philipp Zabel --- drivers/gpu/drm/amd/amdgpu/amdgpu_

[PATCH RFC 4/6] drm/amdgpu: don't wake up the GPU for some AMDGPU_INFO queries

2025-07-31 Thread Philipp Zabel
Don't wake the GPU if the AMDGPU_INFO query doesn't need to power up the GPU. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2295 Signed-off-by: Philipp Zabel --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_

Re: [PATCH RFC 5/6] drm/amdgpu: don't wake up the GPU for mmGB_ADDR_CONFIG register read

2025-08-01 Thread Philipp Zabel
On Thu, Jul 31, 2025 at 9:38 PM Alex Deucher wrote: > On Thu, Jul 31, 2025 at 3:33 AM Philipp Zabel > wrote: > > > > Don't wake the GPU if libdrm queries the mmGB_ADDR_CONFIG register > > value during amdgpu_query_gpu_info_init(). Instead, return the