Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-18 Thread Darren Hart
On Fri, Sep 14, 2018 at 09:57:48PM +0100, Al Viro wrote: > On Fri, Sep 14, 2018 at 01:35:06PM -0700, Darren Hart wrote: > > > Acked-by: Darren Hart (VMware) > > > > As for a longer term solution, would it be possible to init fops in such > > a way that

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-14 Thread Darren Hart
mi_fops = { > .read = wmi_char_read, > .open = wmi_char_open, > .unlocked_ioctl = wmi_ioctl, > - .compat_ioctl = wmi_ioctl, > + .compat_ioctl = generic_compat_ioctl_ptrarg, > }; For platform/drivers/x86: Acked-by: Darren Hart (VMwa

[PATCH] apple-gmux: Sphinxify docs

2016-07-22 Thread Darren Hart
On Tue, Jul 12, 2016 at 03:11:45PM +0200, Daniel Vetter wrote: > On Fri, Jul 08, 2016 at 07:49:32AM +0200, Lukas Wunner wrote: > > On Wed, Jul 06, 2016 at 01:40:25PM -0700, Darren Hart wrote: > > > On Mon, Jul 04, 2016 at 12:40:35PM +0200, Lukas Wunner wrote: > > > &

[PATCH] apple-gmux: Sphinxify docs

2016-07-06 Thread Darren Hart
/www.ti.com/lit/ds/symlink/hd3ss212.pdf > + * .. _Pericom PI3VDP12412: > https://www.pericom.com/assets/Datasheets/PI3VDP12412.pdf > + * .. _TI SN74LV4066A: http://www.ti.com/lit/ds/symlink/sn74lv4066a.pdf > + * .. _NXP CBTL03062: > http://pdf.datasheetarchive.com/indexerfiles/Datasheets-SW16/DSASW00308511.pdf > + * .. _TI TS3DS10224: http://www.ti.com/lit/ds/symlink/ts3ds10224.pdf > */ > > static void gmux_read_switch_state(struct apple_gmux_data *gmux_data) > -- > 2.8.1 > > -- Darren Hart Intel Open Source Technology Center

[PATCH v5 00/12] Enable GPU switching on pre-retina MacBook Pro

2016-02-08 Thread Darren Hart
ri-devel/2015-December/097025.html No objection from the platform-driver-x86 side. I can pull these separately once the core is in, or these can be included with that core (preferred) with my Reviewed-by for 1, 3, 4, and 9. Reviewed-by: Darren Hart -- Darren Hart Intel Open Source Technology Center

[PATCH v2 0/1] apple-gmux: Add initial documentation

2016-01-11 Thread Darren Hart
On Mon, Jan 11, 2016 at 08:19:54PM +0100, Lukas Wunner wrote: > Hi Darren, > > On Mon, Jan 11, 2016 at 09:45:25AM -0800, Darren Hart wrote: > > On Mon, Jan 11, 2016 at 08:03:18AM +0100, Daniel Vetter wrote: > > > On Mon, Jan 11, 2016 at 12:08:35AM +0100, Lukas Wunner wrote

[PATCH v2 0/1] apple-gmux: Add initial documentation

2016-01-11 Thread Darren Hart
ply it: $ patch -p1 < ~/incoming/PATCH_v2_1-1_apple-gmux_Add_initial_documentation.mbox patching file Documentation/DocBook/gpu.tmpl Hunk #1 succeeded at 4279 with fuzz 1 (offset 809 lines). patching file drivers/platform/x86/apple-gmux.c But that is one hell of an offset. What are you developing against and can you send me something that applies cleanly? -- Darren Hart Intel Open Source Technology Center

[PATCH 0/1] apple-gmux: Add initial documentation

2016-01-04 Thread Darren Hart
tml > > If you prefer perusing the patch in a browser: > https://github.com/l1k/linux/commit/68eb066089346b4ba9aefdcbc69e66524427515e > > @Darren Hart: > Barring any objections, please kindly provide an ack for merging via > drm-next or drm-intel as I will post a new iteration o

[PATCH 1/1] apple-gmux: Add initial documentation

2016-01-04 Thread Darren Hart
d = gmux_get_client_id, > }; > > +/** > + * DOC: Interrupt > + * > + * gmux is also connected to a GPIO pin of the southbridge and thereby is > able > + * to trigger an ACPI GPE. On the MBP5 2008/09 it's GPIO pin 22 of the Nvidia > + * MCP79, on all following generations it's GPIO pin 6 of the Intel PCH. > + * The GPE merely signals that an interrupt occurred, the actual type of > event > + * is identified by reading a gmux register. > + */ > + > static inline void gmux_disable_interrupts(struct apple_gmux_data *gmux_data) > { > gmux_write8(gmux_data, GMUX_PORT_INTERRUPT_ENABLE, > -- > 1.8.5.2 (Apple Git-48) > > -- > To unsubscribe from this list: send the line "unsubscribe > platform-driver-x86" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Darren Hart Intel Open Source Technology Center

[PATCH 1/1] apple-gmux: Assign apple_gmux_data before registering

2015-11-23 Thread Darren Hart
nk you for the testing data and submitting. I have queued this to testing. Pending success on 0-day, it will land in linux-next shortly (tomorrow most likely) where I hope it will receive additional testing. -- Darren Hart Intel Open Source Technology Center

[PATCH 0/1] apple-gmux: Assign apple_gmux_data before registering

2015-11-16 Thread Darren Hart
Assign apple_gmux_data before registering > > drivers/platform/x86/apple-gmux.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > -- Darren Hart Intel Open Source Technology Center

[PATCH v4 2/6] apple-gmux: Add switch_ddc support

2015-10-14 Thread Darren Hart
IVB + nvidia GK107 pre-retina 15"] > > Cc: Seth Forshee > Signed-off-by: Lukas Wunner For platform/drivers/x86: Acked-by: Darren Hart Daniel, I presume this will ultimately get pulled in by you with the rest of the series? -- Darren Hart Intel Open Source Technology Center

v4.3-rc4: i915: ThinkPad Yoga 12: *ERROR* The master control interrupt lied (SDE)!

2015-10-14 Thread Darren Hart
On Mon, Oct 12, 2015 at 10:02:06AM +0300, Jani Nikula wrote: > On Sat, 10 Oct 2015, Darren Hart wrote: > > The Debian 3.16.0 kernel does not emit the error, but I have not attempted a > > bisection. > > > > The warning was added by: > > 38cc46d drm/i915/bdw: Ac

v4.3-rc4: i915: ThinkPad Yoga 12: *ERROR* The master control interrupt lied (SDE)!

2015-10-10 Thread Darren Hart
control interrupt lied (SDE)! [ 1857.776710] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)! [ 4057.592685] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)! -- Darren Hart Intel Open Source Technology Center

[PATCH v2 00/32] acpi-video: Rewrite backlight interface selection logic

2015-06-18 Thread Darren Hart
On Wed, Jun 17, 2015 at 11:36:13AM +0200, Rafael J. Wysocki wrote: > On Wed, Jun 17, 2015 at 5:39 AM, Darren Hart wrote: > > On Tue, Jun 16, 2015 at 01:22:40AM +0200, Rafael Wysocki wrote: > >> On Friday, June 12, 2015 01:23:19 PM Hans de Goede wrote: > >> > Hi All,

[PATCH v2 00/32] acpi-video: Rewrite backlight interface selection logic

2015-06-16 Thread Darren Hart
and which is now > in my linux-next branch. > > Can you please rebase the series on top of linux-pm.git/linux-next and resend > it? Rafael, do you intent to carry this entire series and submit via linux-pm? -- Darren Hart Intel Open Source Technology Center

[PATCH 0/3] Use acpi_video_unregister_backlight instead of acpi_video_unregister in platfrom backlight drivers

2015-06-07 Thread Darren Hart
remove this inconsistency > which in some cases may result in a behavior change. > > This way the cleanup can have a consistent base to build upon, and I can > ensure that the cleanup itself does not cause any functional changes. These are now available in for-next. -- Darren Hart Intel Open Source Technology Center

[PATCH 0/3] Use acpi_video_unregister_backlight instead of acpi_video_unregister in platfrom backlight drivers

2015-06-02 Thread Darren Hart
-set in 1-2 weeks. Letting these sit in my testing branch while awaiting at ack from Corentin on 2 of the 3. -- Darren Hart Intel Open Source Technology Center

[PATCH 0/3] Use acpi_video_unregister_backlight instead of acpi_video_unregister in platfrom backlight drivers

2015-06-01 Thread Darren Hart
ch-set in 1-2 weeks. That will likely mean we miss the 4.2 merge window and will target this for 4.3 (which is fine by me, but just so you know). -- Darren Hart Intel Open Source Technology Center

My minnow was broken by: drm/i915: Consolidate forcewake code

2015-01-23 Thread Darren Hart
v3: - rebase > - check and clear wake_count in init > > v4: - fix posting reads for gen8 (PRTS) > > Signed-off-by: Mika Kuoppala > Reviewed-by: Deepak S (v2) > Signed-off-by: Daniel Vetter -- Darren Hart

[PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-21 Thread Darren Hart
bled. This is tied to backlight, as ACPI_VIDEO depends on > BACKLIGHT_CLASS_DEVICE. > > * Replace a couple of select INPUT/VT with depends as it seemed to be > necessary. > > Reference: > http://lkml.kernel.org/r/CA+r1ZhhmT4DrWtf6MbRQo5EqXwx+LxCqh15Vsu_d9WpftLhnxw &g