Re: [Intel-gfx] [PATCH v5] drm/i915/dsi: add payload receiving code

2022-06-22 Thread Tseng, William
Great. Thanks Jani for the comments. I will update the patch based on your comments and submit a new version again. -Original Message- From: Jani Nikula Sent: Tuesday, June 21, 2022 6:09 PM To: Tseng, William ; intel-gfx@lists.freedesktop.org Cc: Tseng, William ; Ville Syrjälä ;

Re: [Intel-gfx] [PATCH v5] drm/i915/dsi: add payload receiving code

2022-06-21 Thread Jani Nikula
On Mon, 20 Jun 2022, William Tseng wrote: > To support Host to read data from Peripheral after > a DCS read command is sent over DSI. So the spec isn't all that clear on all the small details here. Since this pretty much doesn't interfere with other code, I'll put more weight on test results. If

[Intel-gfx] [PATCH v5] drm/i915/dsi: add payload receiving code

2022-06-20 Thread William Tseng
To support Host to read data from Peripheral after a DCS read command is sent over DSI. v1: initial version. v2: - adding error message when failing to place BTA. - returning byte number instead of 0 for the read function dsi_read_pkt_payld(). v3: fixing coding style warning. v4: - correcting the