[PATCH 2/2] drm/dp/mst: always send reply for UP request

Dave Airlie airlied at gmail.com
Fri Dec 18 19:57:13 PST 2015


On 19 December 2015 at 08:14, Harry Wentland <harry.wentland at amd.com> wrote:
> From: Mykola Lysenko <Mykola.Lysenko at amd.com>
>
> We should always send reply for UP request in order
> to make downstream device clean-up resources appropriately.
>
> Issue was that reply for UP request was sent only once.

What happens though if the up reply is too big and needs to be cut into pieces,

Since the return value of process_single_tx_qlock is
-value - errno.
0 - part of msg sent
1 - all of msg sent

Does the attached patch make any difference?

It handles the queue like the down queue.

Dave.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-dp-mst-check-up-transmission-queue-in-transmitte.patch
Type: text/x-patch
Size: 1599 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151219/6dfddc7e/attachment.bin>


More information about the dri-devel mailing list