linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH drm/hisilicon v2 0/2] Code refactoring
@ 2020-12-07  9:05 Tian Tao
  2020-12-07  9:05 ` [PATCH drm/hisilicon v2 1/2] drm/hisilicon: Use managed mode-config init Tian Tao
  2020-12-07  9:05 ` [PATCH drm/hisilicon v2 2/2] drm/hisilicon: Delete unused local parameters Tian Tao
  0 siblings, 2 replies; 7+ messages in thread
From: Tian Tao @ 2020-12-07  9:05 UTC (permalink / raw)
  To: airlied, daniel, tzimmermann, kraxel, alexander.deucher, tglx,
	dri-devel, xinliang.liu, linux-kernel

patch #1 is used drmm_mode_config_init() to do code refactoring.
patch #2 is deleted unused variable ‘priv’ to avoid warning.

Changes since v1:
Remove the unused structure member variable mode_config_initialized.

Tian Tao (2):
  drm/hisilicon: Use managed mode-config init
  drm/hisilicon: Delete unused local parameters

 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 19 ++++---------------
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h |  1 -
 2 files changed, 4 insertions(+), 16 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH drm/hisilicon v2 0/2] Code refactoring
@ 2020-12-07 11:16 Tian Tao
  0 siblings, 0 replies; 7+ messages in thread
From: Tian Tao @ 2020-12-07 11:16 UTC (permalink / raw)
  To: airlied, daniel, tzimmermann, kraxel, alexander.deucher, tglx,
	dri-devel, xinliang.liu, linux-kernel

patch #1 is used drmm_mode_config_init() to do code refactoring.
patch #2 is deleted unused variable ‘priv’ to avoid warning.

Changes since v1:
patch #1 is removed the unused structure member
variable mode_config_initialized.

Tian Tao (2):
  drm/hisilicon: Use managed mode-config init
  drm/hisilicon: Delete unused local parameters

 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 19 ++++---------------
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h |  1 -
 2 files changed, 4 insertions(+), 16 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2020-12-07 11:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-07  9:05 [PATCH drm/hisilicon v2 0/2] Code refactoring Tian Tao
2020-12-07  9:05 ` [PATCH drm/hisilicon v2 1/2] drm/hisilicon: Use managed mode-config init Tian Tao
2020-12-07  9:22   ` Thomas Zimmermann
2020-12-07  9:29     ` tiantao (H)
2020-12-07  9:53       ` Thomas Zimmermann
2020-12-07  9:05 ` [PATCH drm/hisilicon v2 2/2] drm/hisilicon: Delete unused local parameters Tian Tao
2020-12-07 11:16 [PATCH drm/hisilicon v2 0/2] Code refactoring Tian Tao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).