From: Wayne Lin <Wayne.Lin@amd.com>
To: <dri-devel@lists.freedesktop.org>, <amd-gfx@lists.freedesktop.org>
Cc: jani.nikula@intel.com, imre.deak@intel.com, jerry.zuo@amd.com,
Wayne Lin <Wayne.Lin@amd.com>,
harry.wentland@amd.com, ville.syrjala@linux.intel.com
Subject: [PATCH v3 0/3] Refactor and clean up codes of mst
Date: Thu, 24 Aug 2023 12:13:55 +0800 [thread overview]
Message-ID: <20230824041358.4164010-1-Wayne.Lin@amd.com> (raw)
This patch set is mainly trying to organize the mst code today a bit.
Like to clarify and organize the sequence of mst payload allocation and
removement.And also clean up some redundant codes today.
The main refactor one is the patch
"drm/mst: Refactor the flow for payload allocation/removement"
which is adding a new enum variable in stuct drm_dp_mst_atomic_payload
to represent the status of paylad alloction, and then handle the payload
accordingly. Besides, rename some drm mst functions to better express the
behind idea.
The other two patches are mainly to clean up unnecessary codes.
Changes since v1:
* Remove the set but not use variable 'old_payload' in function
'nv50_msto_prepare'. Catched by kernel test robot <lkp@intel.com>
Changes since v2:
* Fix indention
Wayne Lin (3):
drm/mst: delete unnecessary case in drm_dp_add_payload_part2()
drm/mst: Refactor the flow for payload allocation/removement
drm/mst: adjust the function drm_dp_remove_payload_part2()
.../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 60 +-----
drivers/gpu/drm/display/drm_dp_mst_topology.c | 189 +++++++++++-------
drivers/gpu/drm/i915/display/intel_dp_mst.c | 13 +-
drivers/gpu/drm/nouveau/dispnv50/disp.c | 17 +-
include/drm/display/drm_dp_mst_helper.h | 22 +-
5 files changed, 159 insertions(+), 142 deletions(-)
--
2.37.3
WARNING: multiple messages have this Message-ID (diff)
From: Wayne Lin <Wayne.Lin@amd.com>
To: <dri-devel@lists.freedesktop.org>, <amd-gfx@lists.freedesktop.org>
Cc: jani.nikula@intel.com, jerry.zuo@amd.com, Wayne Lin <Wayne.Lin@amd.com>
Subject: [PATCH v3 0/3] Refactor and clean up codes of mst
Date: Thu, 24 Aug 2023 12:13:55 +0800 [thread overview]
Message-ID: <20230824041358.4164010-1-Wayne.Lin@amd.com> (raw)
This patch set is mainly trying to organize the mst code today a bit.
Like to clarify and organize the sequence of mst payload allocation and
removement.And also clean up some redundant codes today.
The main refactor one is the patch
"drm/mst: Refactor the flow for payload allocation/removement"
which is adding a new enum variable in stuct drm_dp_mst_atomic_payload
to represent the status of paylad alloction, and then handle the payload
accordingly. Besides, rename some drm mst functions to better express the
behind idea.
The other two patches are mainly to clean up unnecessary codes.
Changes since v1:
* Remove the set but not use variable 'old_payload' in function
'nv50_msto_prepare'. Catched by kernel test robot <lkp@intel.com>
Changes since v2:
* Fix indention
Wayne Lin (3):
drm/mst: delete unnecessary case in drm_dp_add_payload_part2()
drm/mst: Refactor the flow for payload allocation/removement
drm/mst: adjust the function drm_dp_remove_payload_part2()
.../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 60 +-----
drivers/gpu/drm/display/drm_dp_mst_topology.c | 189 +++++++++++-------
drivers/gpu/drm/i915/display/intel_dp_mst.c | 13 +-
drivers/gpu/drm/nouveau/dispnv50/disp.c | 17 +-
include/drm/display/drm_dp_mst_helper.h | 22 +-
5 files changed, 159 insertions(+), 142 deletions(-)
--
2.37.3
next reply other threads:[~2023-08-24 4:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-24 4:13 Wayne Lin [this message]
2023-08-24 4:13 ` [PATCH v3 0/3] Refactor and clean up codes of mst Wayne Lin
2023-08-24 4:13 ` [PATCH v3 1/3] drm/mst: delete unnecessary case in drm_dp_add_payload_part2() Wayne Lin
2023-08-24 4:13 ` Wayne Lin
2023-08-24 4:13 ` [PATCH v3 2/3] drm/mst: Refactor the flow for payload allocation/removement Wayne Lin
2023-08-24 4:13 ` Wayne Lin
2023-08-24 4:13 ` [PATCH v3 3/3] drm/mst: adjust the function drm_dp_remove_payload_part2() Wayne Lin
2023-08-24 4:13 ` Wayne Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230824041358.4164010-1-Wayne.Lin@amd.com \
--to=wayne.lin@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=imre.deak@intel.com \
--cc=jani.nikula@intel.com \
--cc=jerry.zuo@amd.com \
--cc=ville.syrjala@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.