[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220722095724.GA14113@lst.de>
Date: Fri, 22 Jul 2022 11:57:24 +0200
From: Christoph Hellwig <hch@....de>
To: Robert Beckett <bob.beckett@...labora.com>
Cc: Jani Nikula <jani.nikula@...ux.intel.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
Tvrtko Ursulin <tvrtko.ursulin@...ux.intel.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>, kernel@...labora.com,
Christoph Hellwig <hch@....de>,
Thomas Hellstrom <thomas.hellstrom@...el.com>,
Matthew Auld <matthew.auld@...el.com>,
intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/i915: stop using swiotlb
On Thu, Jul 21, 2022 at 06:43:07PM +0100, Robert Beckett wrote:
> + max_segment = dma_max_mapping_size(i915->drm.dev);
> + max_segment = max_t(size_t, max_segment, PAGE_SIZE) >> PAGE_SHIFT;
dma_max_mapping_size is always larger than PAGE_SIZE, so I don't think
the max is needed.
Otherwise this loks good:
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists