[PATCH v2] drm/display: Drop obsolete dependency on COMPILE_TEST

2024-06-18 Thread Jean Delvare
config bug originally fixed by commit 876271118aa4 ("drm/display: Fix build error without CONFIG_OF"), DRM_MSM which selects DRM_DISPLAY_DP_HELPER must explicitly depend on OF. This is consistent with what all other DRM drivers are doing. Signed-off-by: Jean Delvare Reviewed-by: Javier Martinez

Re: [PATCH RESEND] drm/display: Drop obsolete dependency on COMPILE_TEST

2024-06-18 Thread Jean Delvare
Hi Doug, On Mon, 17 Jun 2024 19:12:05 -0700, Doug Anderson wrote: > On Mon, Jun 17, 2024 at 3:26 PM Dmitry Baryshkov > wrote: > > > > On Mon, Jun 17, 2024 at 08:18:14PM GMT, Jean Delvare wrote: > > > The major difference is that one can't possibly enable ARCH_Q

Re: [PATCH RESEND] drm/display: Drop obsolete dependency on COMPILE_TEST

2024-06-17 Thread Jean Delvare
On Mon, 17 Jun 2024 14:55:22 +0300, Dmitry Baryshkov wrote: > On Mon, Jun 17, 2024 at 01:23:48PM GMT, Jean Delvare wrote: > > Hi Dmitry, > > > > Thanks for your feedback. > > > > On Mon, 17 Jun 2024 12:57:19 +0300, Dmitry Baryshkov wrote: > > > On

Re: [PATCH RESEND] drm/display: Drop obsolete dependency on COMPILE_TEST

2024-06-17 Thread Jean Delvare
Hi Dmitry, Thanks for your feedback. On Mon, 17 Jun 2024 12:57:19 +0300, Dmitry Baryshkov wrote: > On Mon, Jun 17, 2024 at 10:30:30AM GMT, Jean Delvare wrote: > > Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it > > is possible to test-build any driv

[PATCH RESEND] drm/logicvc: Drop obsolete dependency on COMPILE_TEST

2024-06-17 Thread Jean Delvare
Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. Signed-off-by: Jean Delvare Reviewe

[PATCH RESEND] drm/display: Drop obsolete dependency on COMPILE_TEST

2024-06-17 Thread Jean Delvare
Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. Signed-off-by: Jean Delvare Reviewed-

[PATCH RESEND] drm/logicvc: Drop obsolete dependency on COMPILE_TEST

2023-12-02 Thread Jean Delvare
Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. Signed-off-by: Jean Delvare Reviewe

[PATCH RESEND] drm/display: Drop obsolete dependency on COMPILE_TEST

2023-12-02 Thread Jean Delvare
Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. Signed-off-by: Jean Delvare Cc: Da

[PATCH v2] drm/loongson: Add platform dependency

2023-11-13 Thread Jean Delvare
Only offer the Loongson DRM driver as an option on platforms where it makes sense. Signed-off-by: Jean Delvare Cc: Sui Jingfeng Cc: David Airlie Cc: Daniel Vetter --- Changes since v1: * Use the architecture dependencies suggested by Sui Jingfeng. drivers/gpu/drm/loongson/Kconfig |1

Dependencies of DRM_LOONGSON

2023-11-10 Thread Jean Delvare
seful on Loongson-based MIPS systems, therefore I believe it should only be offered as an option on these systems. Would the following change be OK with you? From: Jean Delvare Subject: drm/loongson: Add platform dependency Only offer the Loongson DRM driver as an option on platforms where it

Re: [PATCH v1 1/2] i2c: smbus: Allow throttling of transfers to client devices

2023-10-12 Thread Jean Delvare
see how linux-media and dri-devel are relevant here for example. -- Jean Delvare SUSE L3 Support

[PATCH RESEND] drm/logicvc: Drop obsolete dependency on COMPILE_TEST

2023-01-27 Thread Jean Delvare
Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. Signed-off-by: Jean Delvare

[PATCH RESEND] drm/display: Drop obsolete dependency on COMPILE_TEST

2023-01-27 Thread Jean Delvare
Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. Signed-off-by: Jean Delvare Cc: Da

[PATCH] drm/logicvc: Drop obsolete dependency on COMPILE_TEST

2022-11-21 Thread Jean Delvare
e warnings. Dropping COMPILE_TEST here improves the quality of our testing and avoids wasting time on non-existent issues. Signed-off-by: Jean Delvare Cc: Paul Kocialkowski Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/logicvc/Kconfig |2 +- 1 file changed, 1 insertion(+),

[PATCH] drm/display: Drop obsolete dependency on COMPILE_TEST

2022-10-03 Thread Jean Delvare
e warnings. Dropping COMPILE_TEST here improves the quality of our testing and avoids wasting time on non-existent issues. Signed-off-by: Jean Delvare Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/display/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-5.19.or

Re: [PATCH 6/6] i2c: Make remove callback return void

2022-07-06 Thread Jean Delvare
| 3 +-- > drivers/i2c/muxes/i2c-mux-ltc4306.c | 4 +--- > drivers/i2c/muxes/i2c-mux-pca9541.c | 3 +-- > drivers/i2c/muxes/i2c-mux-pca954x.c | 3 +-- Reviewed-by: Jean Delvare -- Jean Delvare SUSE L3 Support

[PATCH v2 RESEND] drm/edid: no CEA v3 extension is not an error

2019-11-17 Thread Jean Delvare
/show_bug.cgi?id=107825 Signed-off-by: Jean Delvare Reviewed-by: Ville Syrjälä Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- Already sent on: 2019-09-04 Changes since v1: * Treat CEA extension version < 3 as non-error too (suggested by Vi

Re: [PATCH] drm/amdgpu/dm: Do not throw an error for a display with no audio

2019-11-15 Thread Jean Delvare
top.org/show_bug.cgi?id=112140 > References: ae2a3495973e ("drm/amd: be quiet when no SAD block is found") > Signed-off-by: Chris Wilson > Cc: Harry Wentland > Cc: Jean Delvare > Cc: Alex Deucher > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c

Re: [PATCH 2/2] drm/edid: Have cea_db_offsets() zero start/end when the data block collection isn't found

2019-09-11 Thread Jean Delvare
r the caller > to blindly iterate the data blocks even if there are none. > > Cc: Jean Delvare > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/drm_edid.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/drm_edid

Re: [PATCH 2/2] drm/edid: Have cea_db_offsets() zero start/end when the data block collection isn't found

2019-09-11 Thread Jean Delvare
On Tue, 10 Sep 2019 12:48:42 +0300, Ville Syrjälä wrote: > On Tue, Sep 10, 2019 at 11:46:20AM +0200, Jean Delvare wrote: > > Hi Ville, > > > > On Mon, 2 Sep 2019 16:15:46 +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Let&

Re: [PATCH 1/2] drm/edid: Don't look for CEA data blocks in CEA ext block rev < 3

2019-09-11 Thread Jean Delvare
ck they could end up misinterpreting > whatever data is in the reserved section as CEA data blocks. > > Let's have cea_db_offsets() do the revision check so that the > callers don't even have worry about it. > > Cc: Jean Delvare > Signed-off-by: Ville Syrjälä > ---

[PATCH v2 1/3] drm/amd: be quiet when no SAD block is found

2019-09-05 Thread Jean Delvare
It is fine for displays without audio functionality to not provide any SAD block in their EDID. Do not log an error in that case, just return quietly. This fixes half of bug fdo#107825: https://bugs.freedesktop.org/show_bug.cgi?id=107825 Signed-off-by: Jean Delvare Cc: Alex Deucher Cc

[PATCH v2 0/3] drm/edid: don't log errors on absent or old CEA SAD blocks

2019-09-05 Thread Jean Delvare
: * Fixed subject of patch 2 * Treat CEA extension version < 3 as non-error too (suggested by Ville Syrjälä) -- Jean Delvare SUSE L3 Support ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/

[PATCH v2 2/3] drm/radeon: be quiet when no SAD block is found

2019-09-05 Thread Jean Delvare
-by: Jean Delvare Cc: Alex Deucher Cc: "Christian König" Cc: "David (ChunMing) Zhou" Cc: David Airlie Cc: Daniel Vetter --- Changes since v1: * Fixed subject drivers/gpu/drm/radeon/radeon_audio.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-5.2.

[PATCH v2 3/3] drm/edid: no CEA v3 extension is not an error

2019-09-05 Thread Jean Delvare
/show_bug.cgi?id=107825 Signed-off-by: Jean Delvare Reviewed-by: Ville Syrjälä Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- Changes since v1: * Treat CEA extension version < 3 as non-error too (suggested by Ville Syrjälä) drivers/gpu/drm/drm_edi

Re: [PATCH 3/3] drm/edid: no CEA extension is not an error

2019-09-02 Thread Jean Delvare
On Mon, 2 Sep 2019 14:46:51 +0300, Ville Syrjälä wrote: > On Fri, Aug 30, 2019 at 06:16:52PM +0200, Jean Delvare wrote: > > It is fine for displays without audio functionality to not implement > > CEA extension in their EDID. Do not return an error in that case, > > instead

Re: [PATCH 2/3] drm/radeon: be quiet when no SAD block is found

2019-09-02 Thread Jean Delvare
Oops, sorry, I messed up the subject line of that one, which should really read "drm/radeon: be quiet when no SAD block is found". -- Jean Delvare SUSE L3 Support ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freed

[PATCH 2/3] drm/edid: don't log errors on absent CEA SAD blocks

2019-09-02 Thread Jean Delvare
-by: Jean Delvare Cc: Alex Deucher Cc: "Christian König" Cc: "David (ChunMing) Zhou" Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/radeon/radeon_audio.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-5.2.orig/drivers/gpu/drm/radeon/radeon_au

[PATCH 3/3] drm/edid: no CEA extension is not an error

2019-09-02 Thread Jean Delvare
=107825 Signed-off-by: Jean Delvare Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/drm_edid.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-5.2.orig/drivers/gpu/drm/drm_edid.c 2019-08-30 17:57

[PATCH 1/3] drm/amd: be quiet when no SAD block is found

2019-09-02 Thread Jean Delvare
It is fine for displays without audio functionality to not provide any SAD block in their EDID. Do not log an error in that case, just return quietly. This fixes half of bug fdo#107825: https://bugs.freedesktop.org/show_bug.cgi?id=107825 Signed-off-by: Jean Delvare Cc: Alex Deucher Cc

[PATCH 0/3] drm/edid: don't log errors on absent CEA SAD blocks

2019-09-02 Thread Jean Delvare
Hi all, This is my attempt to fix bug fdo#107825: https://bugs.freedesktop.org/show_bug.cgi?id=107825 [PATCH 1/3] drm/amd: be quiet when no SAD block is found [PATCH 2/3] drm/radeon: be quiet when no SAD block is found [PATCH 3/3] drm/edid: no CEA extension is not an error -- Jean Delvare SUSE

[PATCH] drm/amdgpu/si: fix ASIC tests

2019-08-29 Thread Jean Delvare
Comparing adev->family with CHIP constants is not correct. adev->family can only be compared with AMDGPU_FAMILY constants and adev->asic_type is the struct member to compare with CHIP constants. They are separate identification spaces. Signed-off-by: Jean Delvare Fixes: 62a37553414a (&q

[PATCH] drm/amd/amdgpu: hide voltage and power sensors on SI and KV parts

2019-08-29 Thread Jean Delvare
The driver does not support these sensors yet and there is no point in creating sysfs attributes which will always return an error. Signed-off-by: Jean Delvare Cc: Alex Deucher Cc: "Christian König" Cc: "David (ChunMing) Zhou" --- This works for me however I couldn'

Re: [PATCH] drm/ast: change resolution may cause screen blurred

2018-11-22 Thread Jean Delvare
> +++ b/drivers/gpu/drm/ast/ast_mode.c > @@ -568,6 +568,7 @@ static int ast_crtc_do_set_base(struct drm_crtc *crtc, > } > ast_bo_unreserve(bo); > > + ast_set_offset_reg(crtc); > ast_set_start_address_crt1(crtc, (u32)gpu_addr); > > return 0;

Re: [PATCH] drm/ast: Remove existing framebuffers before loading driver

2018-11-16 Thread Jean Delvare
> + kfree(ap); > +} > + > static int ast_pci_probe(struct pci_dev *pdev, const struct pci_device_id > *ent) > { > + ast_kick_out_firmware_fb(pdev); > + > return drm_get_pci_dev(pdev, ent, &driver); > } > Thank you very much Thomas. Reviewed-by: Jean Delvare

Re: Performance regression in ast drm driver

2018-11-14 Thread Jean Delvare
_bug.cgi?id=1112963 Thank you very much for looking into this bug. I tested the patch above and yes, it solves my console performance problem. The performance with your patch applied is roughly the same as with commit "drm/drivers: add support for using the arch wc mapping API" rev

Re: Performance regression in ast drm driver

2018-11-13 Thread Jean Delvare
On Mon, 2018-11-12 at 15:45 +0100, Takashi Iwai wrote: > On Mon, 12 Nov 2018 15:36:07 +0100, > Jean Delvare wrote: > > Takashi asked me to compare the contents of > > /sys/kernel/debug/x86/pat_memtype_list before and after the commit > > above. Before the commit, we have:

Re: Performance regression in ast drm driver

2018-11-12 Thread Jean Delvare
Hi David, On Fri, 2018-11-09 at 10:04 +1000, David Airlie wrote: > On Thu, Nov 8, 2018 at 10:05 PM Jean Delvare wrote: > > > > On Thu, 1 Nov 2018 16:27:07 +0100, Jean Delvare wrote: > > > Hi David, > > > > > > The following commit: > > > &g

Re: Performance regression in ast drm driver

2018-11-11 Thread Jean Delvare
; on my old Asus Z6NA-D6 which has either an AST 2050 device if I trust the board specifications on asus.com, or an AST 1100 if I trust /var/log/Xorg.0.log. Note however that I am still not certain that the problem I am seeing is the same as what both customers reported. It is possible that we ha

Re: Performance regression in ast drm driver

2018-11-09 Thread Jean Delvare
On Thu, 1 Nov 2018 16:27:07 +0100, Jean Delvare wrote: > Hi David, > > The following commit: > > commit 7cf321d118a825c1541b43ca45294126fd474efa > Author: Dave Airlie > Date: Mon Oct 24 15:37:48 2016 +1000 > > drm/drivers: add support for using the arch wc map

Performance regression in ast drm driver

2018-11-02 Thread Jean Delvare
call "cat" on a large text file, it takes almost twice as much time to be displayed and scrolled completely. Can you please check that the ast driver portion of that commit is both correct and complete? Thanks, -- Jean Delvare SUSE L3 Support _

radeon_dp_aux_transfer_native: 74 callbacks suppressed

2017-11-07 Thread Jean Delvare
message at KERN_WARNING level regardless of the level of the message being suppressed. This makes ratelimiting debug, info or notice messages awkward. Looks like a design overlook to me, maybe it should be fixed, but that's a much bigger and intrusive change than the proposal above.

Re: [PATCH] drm/amdgpu: revert tile table update for oland

2017-09-16 Thread Jean Delvare
different version for older kernels already, I'll post it to stable@ after the fix is merged into Linus' tree. -- Jean Delvare SUSE L3 Support ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH] drm/amdgpu: revert tile table update for oland

2017-09-11 Thread Jean Delvare
ommit isn't an actual revert of the original. This fixes bug #194761: https://bugzilla.kernel.org/show_bug.cgi?id=194761 Signed-off-by: Jean Delvare Fixes: f8d9422ef80c ("drm/amdgpu: update tile table for oland/hainan") Cc: Flora Cui Cc: Junwei Zhang Cc: Alex Deucher Cc: M

[PATCH] drm/amdgpu: Fix amdgpu_pm_acpi_event_handler warning

2017-07-30 Thread Jean Delvare
Include a missing header to get rid of the following warning: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:65:6: warning: no previous prototype for ‘amdgpu_pm_acpi_event_handler’ [-Wmissing-prototypes] void amdgpu_pm_acpi_event_handler(struct amdgpu_device *adev) ^ Signed-off-by: Jean Delvare

[PATCH] drm/radeon: Make radeon_atif_handler static

2017-07-30 Thread Jean Delvare
There are no external users of function radeon_atif_handler so it can be static. Signed-off-by: Jean Delvare Cc: Alex Deucher Cc: "Christian König" --- drivers/gpu/drm/radeon/radeon_acpi.c |2 +- drivers/gpu/drm/radeon/radeon_acpi.h |3 --- 2 files changed, 1 insertion(+), 4

[PATCH] drm/amdgpu: Fix dce_v6_0_disable_dce warning

2017-07-30 Thread Jean Delvare
Include a missing header to get rid of the following warning: drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:521:6: warning: no previous prototype for 'dce_v6_0_disable_dce' [-Wmissing-prototypes] void dce_v6_0_disable_dce(struct amdgpu_device *adev) ^ Signed-off-by: Jean Delvare

[PATCH] drm/amdgpu: Make amdgpu_atif_handler static

2017-07-30 Thread Jean Delvare
There are no external users of function amdgpu_atif_handler so it can be static. Signed-off-by: Jean Delvare Cc: Alex Deucher Cc: "Christian König" --- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-4.12.orig/drivers/g

[PATCH] drm/amdgpu: Fix undue fallthroughs in golden registers initialization

2017-07-30 Thread Jean Delvare
driver doesn't have any such fallthrough, so I suspect this is not supposed to happen. Signed-off-by: Jean Delvare Fixes: 62a37553414a ("drm/amdgpu: add si implementation v10") Cc: Ken Wang Cc: Alex Deucher Cc: "Marek Olšák" Cc: "Christian König" Cc: Flo

userptr support in drm drivers

2016-02-19 Thread Jean Delvare
Hi Christian, On Thu, 18 Feb 2016 10:48:18 +0100, Christian König wrote: > Am 18.02.2016 um 09:59 schrieb Jean Delvare: > > Maybe I was not clear enough in my original post, but I am really > > advocating for FEWER kconfig options, not more. Plus I just explained > > why I

userptr support in drm drivers

2016-02-18 Thread Jean Delvare
n why we can't just unconditionally select MMU_NOTIFIER in these 3 drivers and be done with it. That's less work at kernel configuration time AND fewer preprocessing conditionals within the code, so easier/better testing coverage and more readable code. We would need a very good reason for NOT doing it. -- Jean Delvare SUSE L3 Support

userptr support in drm drivers

2016-02-18 Thread Jean Delvare
U_NOTIFIER unconditionally? The proliferation of kconfig options is not helping. > That we have two options doing the same is just a matter of branching of > amdgpu from radeon and not cleaning up the configuration options. So > feel free to cleaning this up and write a patch which m

userptr support in drm drivers

2016-02-16 Thread Jean Delvare
with a run-time option to disable full userptr (drm.userptr=ro or some such.) As a general rule, fewer configuration options is better. Once a decision is made, I volunteer to write the patches. Thanks, -- Jean Delvare SUSE L3 Support

[PATCH] drm/shmobile: Add run-time dependencies

2014-05-26 Thread Jean Delvare
The shmobile DRM driver is only useful on SuperH and shmobile unless build testing. I am dropping the SuperH dependencies though because the driver doesn't even build there, so in practice it is an arm-only driver for now. Signed-off-by: Jean Delvare Cc: Laurent Pinchart Cc: David A

[PATCH] drm/rcar-du: Add run-time dependencies

2014-05-26 Thread Jean Delvare
Hi Laurent, On Mon, 26 May 2014 13:36:11 +0200, Laurent Pinchart wrote: > Thank you for the patch. You're welcome. And thanks for your help :-) > On Monday 26 May 2014 13:01:35 Jean Delvare wrote: > > The Renesas R-Car Display Unit driver is only useful on shmobile > > un

[PATCH] drm/rcar-du: Add run-time dependencies

2014-05-26 Thread Jean Delvare
The Renesas R-Car Display Unit driver is only useful on shmobile unless build testing. The LVDS output is useful on an even more reduced hardware set. Signed-off-by: Jean Delvare Cc: Laurent Pinchart Cc: David Airlie --- drivers/gpu/drm/rcar-du/Kconfig |2 ++ 1 file changed, 2 insertions

[PATCH] drm/exynos: Fix PTN3460 dependency

2014-05-20 Thread Jean Delvare
en be moved together with the other I2C helper chip drivers. Signed-off-by: Jean Delvare Cc: David Airlie Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: Kukjin Kim --- drivers/gpu/drm/Kconfig|4 ++-- drivers/gpu/drm/exynos/Kconfig |2 +- 2 files changed, 3 i

[PATCH 4/4] output: Drop display output class support

2014-03-19 Thread Jean Delvare
On Mon, 17 Mar 2014 15:49:10 +0100, Jean Delvare wrote: > It was only ever used by the ACPI video driver, and that only use case > vanished over 3 years ago (see commit 677bd810, "ACPI video: remove > output switching control".) So this is dead code and I guess we can > remo

[PATCH 1/4] ACPI: fix ACPI_VIDEO dependencies

2014-03-19 Thread Jean Delvare
On Wed, 19 Mar 2014 14:10:53 +0100, Rafael J. Wysocki wrote: > On Wednesday, March 19, 2014 07:51:45 AM Jean Delvare wrote: > > Hi Rafael, > > > > On Wed, 19 Mar 2014 02:26:52 +0100, Rafael J. Wysocki wrote: > > > On Monday, March 17, 2014 03:46:44 PM Jean Del

[PATCH 1/4] ACPI: fix ACPI_VIDEO dependencies

2014-03-19 Thread Jean Delvare
Hi Rafael, On Wed, 19 Mar 2014 02:26:52 +0100, Rafael J. Wysocki wrote: > On Monday, March 17, 2014 03:46:44 PM Jean Delvare wrote: > > From: Jean Delvare > > Subject: ACPI: fix ACPI_VIDEO dependencies > > > > ACPI_VIDEO stopped depending on VIDEO_OUTPUT_CONTROL over

[PATCH 2/4 v2] gpu/drm: Stop selecting VIDEO_OUTPUT_CONTROL

2014-03-17 Thread Jean Delvare
ACPI_VIDEO no longer depends on VIDEO_OUTPUT_CONTROL, so drivers which want to select ACPI_VIDEO no longer have to select VIDEO_OUTPUT_CONTROL. Signed-off-by: Jean Delvare Cc: David Airlie Cc: Daniel Vetter Cc: Jani Nikula --- Changes since v1: * Chunk missing for the nouveau driver, sorry

[PATCH 4/4] output: Drop display output class support

2014-03-17 Thread Jean Delvare
It was only ever used by the ACPI video driver, and that only use case vanished over 3 years ago (see commit 677bd810, "ACPI video: remove output switching control".) So this is dead code and I guess we can remove it now. Signed-off-by: Jean Delvare Cc: Zhang Rui Cc: Len Brown Cc:

[PATCH 3/4] acer-wmi: Stop selecting VIDEO_OUTPUT_CONTROL

2014-03-17 Thread Jean Delvare
ACPI_VIDEO no longer depends on VIDEO_OUTPUT_CONTROL, so drivers which want to select ACPI_VIDEO no longer have to select VIDEO_OUTPUT_CONTROL. Signed-off-by: Jean Delvare Cc: "Lee, Chun-Yi" Cc: Matthew Garrett --- drivers/platform/x86/Kconfig |2 -- 1 file changed, 2

[PATCH 2/4] gpu/drm: Stop selecting VIDEO_OUTPUT_CONTROL

2014-03-17 Thread Jean Delvare
ACPI_VIDEO no longer depends on VIDEO_OUTPUT_CONTROL, so drivers which want to select ACPI_VIDEO no longer have to select VIDEO_OUTPUT_CONTROL. Signed-off-by: Jean Delvare Cc: David Airlie Cc: Daniel Vetter Cc: Jani Nikula --- I can split that one further if needed. drivers/gpu/drm/gma500

[PATCH 1/4] ACPI: fix ACPI_VIDEO dependencies

2014-03-17 Thread Jean Delvare
From: Jean Delvare Subject: ACPI: fix ACPI_VIDEO dependencies ACPI_VIDEO stopped depending on VIDEO_OUTPUT_CONTROL over 3 years ago (see commit 677bd810, "ACPI video: remove output switching control".) So it's about time to remove the Kconfig dependency between these two options.

[PATCH 2/2] drm/radeon: expose DPM thermal thresholds through sysfs

2013-09-11 Thread Jean Delvare
The hwmon sysfs interface allows exposing temperature limits. The "max" and "min" thresholds will be exposed as a critical high limit and its hysteresis value, respectively. This gives the user a better idea of how well cooling is doing and whether it is sufficient. Signed-

[PATCH 1/2] drm/radeon: simplify driver data retrieval

2013-09-11 Thread Jean Delvare
You can get the driver data from struct device directly, there's no need to get the PCI device first. Signed-off-by: Jean Delvare Cc: David Airlie Cc: Alex Deucher --- drivers/gpu/drm/radeon/radeon_pm.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) --- linux

[PATCH] drm/i915: Optimize DIV_ROUND_CLOSEST call

2012-11-12 Thread Jean Delvare
On Mon, 12 Nov 2012 15:02:26 +0100, Daniel Vetter wrote: > On Mon, Nov 12, 2012 at 02:18:02PM +0100, Jean Delvare wrote: > > DIV_ROUND_CLOSEST is faster if the compiler knows it will only be > > dealing with unsigned dividends. This optimization rips 32 bytes of > >

[PATCH] drm/i915: Optimize DIV_ROUND_CLOSEST call

2012-11-12 Thread Jean Delvare
DIV_ROUND_CLOSEST is faster if the compiler knows it will only be dealing with unsigned dividends. This optimization rips 32 bytes of binary code on x86_64. Signed-off-by: Jean Delvare Cc: Guenter Roeck Cc: Andrew Morton Cc: Daniel Vetter Cc: David Airlie --- Already sent on: 2012-09-03

Re: [PATCH] drm/i915: Optimize DIV_ROUND_CLOSEST call

2012-11-12 Thread Jean Delvare
On Mon, 12 Nov 2012 15:02:26 +0100, Daniel Vetter wrote: > On Mon, Nov 12, 2012 at 02:18:02PM +0100, Jean Delvare wrote: > > DIV_ROUND_CLOSEST is faster if the compiler knows it will only be > > dealing with unsigned dividends. This optimization rips 32 bytes of > >

[PATCH] drm/i915: Optimize DIV_ROUND_CLOSEST call

2012-11-12 Thread Jean Delvare
DIV_ROUND_CLOSEST is faster if the compiler knows it will only be dealing with unsigned dividends. This optimization rips 32 bytes of binary code on x86_64. Signed-off-by: Jean Delvare Cc: Guenter Roeck Cc: Andrew Morton Cc: Daniel Vetter Cc: David Airlie --- Already sent on: 2012-09-03

[PATCH] drm/i915: Optimize DIV_ROUND_CLOSEST call

2012-09-03 Thread Jean Delvare
From: Jean Delvare Subject: drm/i915: Optimize DIV_ROUND_CLOSEST call DIV_ROUND_CLOSEST is faster if the compiler knows it will only be dealing with unsigned dividends. Signed-off-by: Jean Delvare Cc: Guenter Roeck Cc: Andrew Morton Cc: Daniel Vetter Cc: David Airlie --- Daniel, I think we

[PATCH] drm/i915: Optimize DIV_ROUND_CLOSEST call

2012-09-03 Thread Jean Delvare
From: Jean Delvare Subject: drm/i915: Optimize DIV_ROUND_CLOSEST call DIV_ROUND_CLOSEST is faster if the compiler knows it will only be dealing with unsigned dividends. Signed-off-by: Jean Delvare Cc: Guenter Roeck Cc: Andrew Morton Cc: Daniel Vetter Cc: David Airlie --- Daniel, I think we

[PATCH V4] drm: edid: add support for E-DDC

2012-08-29 Thread Jean Delvare
return ret == 2 ? 0 : -1; > + return ret == xfers ? 0 : -1; > } > > static bool drm_edid_is_zero(u8 *in_edid, int length) Other than this, your code looks reasonable, not so different from what I submitted 8 months ago actually. But ISTU you can test the code with real hardware while I couldn't. With the changes above applied, you can add: Reviewed-by: Jean Delvare -- Jean Delvare Suse L3

Re: [PATCH V4] drm: edid: add support for E-DDC

2012-08-29 Thread Jean Delvare
return ret == 2 ? 0 : -1; > + return ret == xfers ? 0 : -1; > } > > static bool drm_edid_is_zero(u8 *in_edid, int length) Other than this, your code looks reasonable, not so different from what I submitted 8 months ago actually. But ISTU you can test the code with real hardw

Linux 3.4-rc4

2012-05-02 Thread Jean Delvare
rnel: [13464.936336] > >> [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, > >> remainder is 208 Apr 26 13:06:57 dtor-d630 kernel: [13464.955317] > >> [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, > >> remainder is 208 Apr 26

Re: Linux 3.4-rc4

2012-05-02 Thread Jean Delvare
rnel: [13464.936336] > >> [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, > >> remainder is 208 Apr 26 13:06:57 dtor-d630 kernel: [13464.955317] > >> [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, > >> remainder is 208 Apr 26 13:06:57 dtor-d630 kern

[PATCH] drm/radeon: only add the mm i2c bus if the hw_i2c module param is set

2012-04-10 Thread Jean Delvare
m-sensors.org/pipermail/lm-sensors/2012-April/035847.html > http://lists.freedesktop.org/archives/xorg/2011-January/052239.html > > Signed-off-by: Alex Deucher > Cc: stable at vger.kernel.org > Cc: Jean Delvare > --- > drivers/gpu/drm/radeon/radeon_i2c.c |4 &

Re: [PATCH] drm/radeon: only add the mm i2c bus if the hw_i2c module param is set

2012-04-10 Thread Jean Delvare
m-sensors.org/pipermail/lm-sensors/2012-April/035847.html > http://lists.freedesktop.org/archives/xorg/2011-January/052239.html > > Signed-off-by: Alex Deucher > Cc: sta...@vger.kernel.org > Cc: Jean Delvare > --- > drivers/gpu/drm/radeon/radeon_i2c.c |4 > 1 files

[lm-sensors] Incorrect Temperature Readings

2012-03-27 Thread Jean Delvare
way to run "module-init-tools" without getting > "stop/waiting"? This is a completely unrelated question and I don't even understand it. -- Jean Delvare

Re: [lm-sensors] Incorrect Temperature Readings

2012-03-26 Thread Jean Delvare
way to run "module-init-tools" without getting > "stop/waiting"? This is a completely unrelated question and I don't even understand it. -- Jean Delvare ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH v2] drm/i915: Run DDC buses at 50 kbps

2012-03-23 Thread Jean Delvare
On Thursday 22 March 2012 09:50:23 pm Daniel Vetter wrote: > On Wed, Mar 21, 2012 at 02:29:47PM +0100, Jean Delvare wrote: > > A udelay value of 20 leads to an I2C bus running at only 25 kbps. > > I2C devices can typically operate faster than this, 50 kbps should > > be fine

Re: [PATCH v2] drm/i915: Run DDC buses at 50 kbps

2012-03-23 Thread Jean Delvare
On Thursday 22 March 2012 09:50:23 pm Daniel Vetter wrote: > On Wed, Mar 21, 2012 at 02:29:47PM +0100, Jean Delvare wrote: > > A udelay value of 20 leads to an I2C bus running at only 25 kbps. > > I2C devices can typically operate faster than this, 50 kbps should > > be fine

[PATCH v2] drm/radeon/kms: Run DDC buses at 50 kbps

2012-03-21 Thread Jean Delvare
set it to 10 in DRM drivers too, this will make EDID block reads faster. We might even lower the udelay value later if no problem is reported. Signed-off-by: Jean Delvare Reviewed-by: Alex Deucher Cc: Dave Airlie --- Changes since v1: * Split per driver to make merging easier. * Make the subject

[PATCH v2] drm/i915: Run DDC buses at 50 kbps

2012-03-21 Thread Jean Delvare
set it to 10 in DRM drivers too, this will make EDID block reads faster. We might even lower the udelay value later if no problem is reported. Signed-off-by: Jean Delvare Acked-by: Eugeni Dodonov Cc: Dave Airlie Cc: Keith Packard --- Changes since v1: * Split per driver to make merging easier

[PATCH 2/2] drm/radeon/kms: Use the standard VESA timeout for DDC channels

2012-03-21 Thread Jean Delvare
Hi Keith, On Sunday 29 January 2012 02:34:05 am Keith Packard wrote: > On Sat, 28 Jan 2012 11:08:58 +0100, Jean Delvare > wrote: > > The VESA specification suggests a 2.2 ms timeout on DDC channels. > > Use exactly that (as the i915 driver does) instead of hard-coding a > &g

[PATCH 1/2] drm/kms: Make i2c buses faster

2012-03-21 Thread Jean Delvare
Hi Keith, Sorry for the late reply. On Sunday 29 January 2012 02:26:25 am Keith Packard wrote: > On Sat, 28 Jan 2012 11:07:09 +0100, Jean Delvare > wrote: > > A udelay value of 20 leads to an I2C bus running at only 25 kbps. > > I2C devices can typically operate faster than th

[PATCH v2] drm/radeon/kms: Run DDC buses at 50 kbps

2012-03-21 Thread Jean Delvare
set it to 10 in DRM drivers too, this will make EDID block reads faster. We might even lower the udelay value later if no problem is reported. Signed-off-by: Jean Delvare Reviewed-by: Alex Deucher Cc: Dave Airlie --- Changes since v1: * Split per driver to make merging easier. * Make the subject

[PATCH v2] drm/i915: Run DDC buses at 50 kbps

2012-03-21 Thread Jean Delvare
set it to 10 in DRM drivers too, this will make EDID block reads faster. We might even lower the udelay value later if no problem is reported. Signed-off-by: Jean Delvare Acked-by: Eugeni Dodonov Cc: Dave Airlie Cc: Keith Packard --- Changes since v1: * Split per driver to make merging easier

Re: [PATCH 2/2] drm/radeon/kms: Use the standard VESA timeout for DDC channels

2012-03-21 Thread Jean Delvare
Hi Keith, On Sunday 29 January 2012 02:34:05 am Keith Packard wrote: > On Sat, 28 Jan 2012 11:08:58 +0100, Jean Delvare > wrote: > > The VESA specification suggests a 2.2 ms timeout on DDC channels. > > Use exactly that (as the i915 driver does) instead of hard-coding a > &g

Re: [PATCH 1/2] drm/kms: Make i2c buses faster

2012-03-21 Thread Jean Delvare
Hi Keith, Sorry for the late reply. On Sunday 29 January 2012 02:26:25 am Keith Packard wrote: > On Sat, 28 Jan 2012 11:07:09 +0100, Jean Delvare > wrote: > > A udelay value of 20 leads to an I2C bus running at only 25 kbps. > > I2C devices can typically operate faster than th

Re: i2c handling in nouveau driver

2012-03-16 Thread Jean Delvare
Hi Ben, I'm sorry for the very very late reply. Please do not jump to the conclusion that I do not care - I do! Just I am very busy, just as you. On Wednesday 11 January 2012 01:40:58 pm Ben Skeggs wrote: > On Wed, 2012-01-11 at 11:17 +0100, Jean Delvare wrote: > > In the commi

i2c handling in nouveau driver

2012-03-15 Thread Jean Delvare
Hi Ben, I'm sorry for the very very late reply. Please do not jump to the conclusion that I do not care - I do! Just I am very busy, just as you. On Wednesday 11 January 2012 01:40:58 pm Ben Skeggs wrote: > On Wed, 2012-01-11 at 11:17 +0100, Jean Delvare wrote: > > In the commi

[PATCH] i2c-algo-bit: Fix spurious SCL timeouts under heavy load

2012-03-15 Thread Jean Delvare
ETIMEDOUT; + } cond_resched(); } #ifdef DEBUG Functionally it should be equivalent to your proposal, but faster. I'll apply that (and send for stable inclusion.) Thanks, -- Jean Delvare

Re: [PATCH] i2c-algo-bit: Fix spurious SCL timeouts under heavy load

2012-03-15 Thread Jean Delvare
ETIMEDOUT; + } cond_resched(); } #ifdef DEBUG Functionally it should be equivalent to your proposal, but faster. I'll apply that (and send for stable inclusion.) Thanks, -- Jean Delvare ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH] i2c: export bit-banging algo functions

2012-02-28 Thread Jean Delvare
; The new plan is to only set up one i2c adaptor and transparently fall > back to bit-banging by directly calling the xfer function of the bit- > banging algo in the i2c core. > > To make that possible, export the 2 i2c algo functions. > > v2: As suggested by Jean Delvare,

[PATCH 3/7] i2c: export bit-banging algo functions

2012-02-28 Thread Jean Delvare
On Mon, 27 Feb 2012 23:52:23 +0100, Daniel Vetter wrote: > On Mon, Feb 27, 2012 at 11:20:40PM +0100, Jean Delvare wrote: > > If you need to hot-switch between hardware and bit-banged I2C, I suggest > > that you lock the bus while doing so, to avoid switching while a > > trans

Re: [PATCH] i2c: export bit-banging algo functions

2012-02-28 Thread Jean Delvare
; The new plan is to only set up one i2c adaptor and transparently fall > back to bit-banging by directly calling the xfer function of the bit- > banging algo in the i2c core. > > To make that possible, export the 2 i2c algo functions. > > v2: As suggested by Jean Delvare,

Re: [PATCH 3/7] i2c: export bit-banging algo functions

2012-02-28 Thread Jean Delvare
On Mon, 27 Feb 2012 23:52:23 +0100, Daniel Vetter wrote: > On Mon, Feb 27, 2012 at 11:20:40PM +0100, Jean Delvare wrote: > > If you need to hot-switch between hardware and bit-banged I2C, I suggest > > that you lock the bus while doing so, to avoid switching while a > > trans

[PATCH 3/7] i2c: export bit-banging algo functions

2012-02-27 Thread Jean Delvare
rt a new function i2c_bit_add_numbered_bus() which would call __i2c_bit_add_bus() with no callback function. If you do that, you may not have to export anything else. I leave it up to you which way you want to implement it, all are fine with me, and we can always change later if more use cases show up which would work better with a different implementation. -- Jean Delvare

  1   2   3   >