public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH] thunderbolt: Supporting wake on DP hot events behind TBT/USB4 routers
@ 2022-08-03  7:29 Khandelwal, Rajat
  2022-08-03  7:31 ` Khandelwal, Rajat
  2022-08-03  7:47 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Khandelwal, Rajat @ 2022-08-03  7:29 UTC (permalink / raw)
  To: Mika Westerberg, Malani, Prashant, bleung@google.com
  Cc: andreas.noever@gmail.com, Jamet, Michael, YehezkelShB@gmail.com,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	Rao, Abhijeet

+Abhijeet
@Benson Leung @Malani, Prashant Please provide your comments. 

-----Original Message-----
From: Mika Westerberg <mika.westerberg@linux.intel.com> 
Sent: Wednesday, August 3, 2022 11:07 AM
To: Khandelwal, Rajat <rajat.khandelwal@intel.com>
Cc: andreas.noever@gmail.com; Jamet, Michael <michael.jamet@intel.com>; YehezkelShB@gmail.com; linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org; Malani, Prashant <pmalani@google.com>; bleung@google.com
Subject: Re: [PATCH] thunderbolt: Supporting wake on DP hot events behind TBT/USB4 routers

Hi,

On Wed, Aug 03, 2022 at 06:31:39AM +0530, Rajat Khandelwal wrote:
> Current implementation doesn't allow user to go into system suspend
> and simultaneously project the screen on an external display connected
> to a TBT/USB4 device. This patch enables this feature.
> 
> Let me know what you think about this.

Please prefix patches to follow the sybsystem style. For Thunderbolt it
should be "thunderbolt: ....".

This will cause any monitor plug to wake up the system and I'm not sure
we want that, at least to be default behaviour. If you have a regular
Type-C (non-USB4/TBT) dock and you plug in a monitor to that, does it
wake up?

IIRC I already suggested you to do this for the USB4 ports themselves
(struct usb4_port) so that userspace can make them wake up the system on
any event by writing "enabled > .../wakeup" which is the normal way.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-03  7:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-03  7:29 [PATCH] thunderbolt: Supporting wake on DP hot events behind TBT/USB4 routers Khandelwal, Rajat
2022-08-03  7:31 ` Khandelwal, Rajat
2022-08-03  7:48   ` Greg KH
2022-08-03  7:47 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox