[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190627151633.j3xf3lkihklb2wzh@sirius.home.kraxel.org>
Date: Thu, 27 Jun 2019 17:16:33 +0200
From: Gerd Hoffmann <kraxel@...hat.com>
To: Thomas Zimmermann <tzimmermann@...e.de>
Cc: dri-devel@...ts.freedesktop.org,
Maxime Ripard <maxime.ripard@...tlin.com>,
open list <linux-kernel@...r.kernel.org>,
David Airlie <airlied@...ux.ie>, Sean Paul <sean@...rly.run>
Subject: Re: [PATCH v3 1/5] gem/vram: pin to vram in vmap
Hi,
> 1) Introduce a default_placement field in struct drm_gem_vram_helper
> where this flag can be configured. I'd favor this option.
> 2) Introduce a separate callback function for pinning to vram. The
> driver would have to set the correct function pointers.
> 3) Pin the fb console buffer manually from within the bochs driver.
Hmm. Before calling drm_fbdev_generic_setup() the bo doesn't exist yet
and when the function returns it is already vmapped and pinned I think.
So (3) isn't easily doable. (1) looks best to me.
cheers,
Gerd
Powered by blists - more mailing lists