All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: airlied@redhat.com, daniel@ffwll.ch,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	zourongrong@gmail.com, kong.kongxinwei@hisilicon.com,
	puck.chen@hisilicon.com, kraxel@redhat.com, sam@ravnborg.org
Cc: Thomas Zimmermann <tzimmermann@suse.de>, dri-devel@lists.freedesktop.org
Subject: [PATCH v4 0/8] drm/vram-helper: Various cleanups
Date: Mon,  6 Jan 2020 13:57:37 +0100	[thread overview]
Message-ID: <20200106125745.13797-1-tzimmermann@suse.de> (raw)

A number of cleanups that I wanted to apply for some time. The first
two patches simplify the public interface. The third patch adds support
for struct drm_driver.gem_create_object. All tested by running fbdev,
X11 and Weston on ast HW.

v4:
	* rebased onto recent drm-tip
v3:
	* drm_gem_vram_create(): test for allocation failure before
	  update
v2:
	* make drm_gem_vram_create() still work if GEM object is not
	  first in struct

Thomas Zimmermann (8):
  drm/hisilicon/hibmc: Switch to generic fbdev emulation
  drm/hisilicon/hibmc: Replace struct hibmc_framebuffer with generic
    code
  drm/vram: Support scanline alignment for dumb buffers
  drm/hisilicon/hibmc: Implement hibmc_dumb_create() with generic
    helpers
  drm/hisilicon/hibmc: Export VRAM MM information to debugfs
  drm/vram-helper: Remove interruptible flag from public interface
  drm/vram-helper: Remove BO device from public interface
  drm/vram-helper: Support struct drm_driver.gem_create_object

 drivers/gpu/drm/ast/ast_mode.c                |   3 +-
 drivers/gpu/drm/drm_gem_vram_helper.c         |  53 ++--
 drivers/gpu/drm/hisilicon/hibmc/Makefile      |   2 +-
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_de.c    |   4 +-
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c   |   6 +-
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h   |  26 --
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c | 240 ------------------
 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c   | 116 +--------
 drivers/gpu/drm/mgag200/mgag200_cursor.c      |   3 +-
 drivers/gpu/drm/mgag200/mgag200_drv.c         |   3 +-
 include/drm/drm_gem_vram_helper.h             |   7 +-
 11 files changed, 45 insertions(+), 418 deletions(-)
 delete mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c

--
2.24.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2020-01-06 12:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-06 12:57 Thomas Zimmermann [this message]
2020-01-06 12:57 ` [PATCH v4 1/8] drm/hisilicon/hibmc: Switch to generic fbdev emulation Thomas Zimmermann
2020-01-06 12:57 ` [PATCH v4 2/8] drm/hisilicon/hibmc: Replace struct hibmc_framebuffer with generic code Thomas Zimmermann
2020-01-06 12:57 ` [PATCH v4 3/8] drm/vram: Support scanline alignment for dumb buffers Thomas Zimmermann
2020-01-06 12:57 ` [PATCH v4 4/8] drm/hisilicon/hibmc: Implement hibmc_dumb_create() with generic helpers Thomas Zimmermann
2020-01-06 12:57 ` [PATCH v4 5/8] drm/hisilicon/hibmc: Export VRAM MM information to debugfs Thomas Zimmermann
2020-01-07  9:07   ` Gerd Hoffmann
2020-01-06 12:57 ` [PATCH v4 6/8] drm/vram-helper: Remove interruptible flag from public interface Thomas Zimmermann
2020-01-07  9:08   ` Gerd Hoffmann
2020-01-06 12:57 ` [PATCH v4 7/8] drm/vram-helper: Remove BO device " Thomas Zimmermann
2020-01-07  9:09   ` Gerd Hoffmann
2020-01-06 12:57 ` [PATCH v4 8/8] drm/vram-helper: Support struct drm_driver.gem_create_object Thomas Zimmermann
2020-01-07  9:11   ` Gerd Hoffmann

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=20200106125745.13797-1-tzimmermann@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@redhat.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kong.kongxinwei@hisilicon.com \
    --cc=kraxel@redhat.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=puck.chen@hisilicon.com \
    --cc=sam@ravnborg.org \
    --cc=zourongrong@gmail.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.