[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200922051601.GC29480@infradead.org>
Date: Tue, 22 Sep 2020 06:16:01 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Corentin Labbe <clabbe@...libre.com>
Cc: gregkh@...uxfoundation.org, laurent.pinchart@...net.be,
mchehab@...nel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: Re: [PATCH RFT/RFC 01/49] staging: media: Revert "media: zoran:
remove deprecated driver"
> + fh->buffers.buffer[i].v4l.fbuffer = mem;
> + fh->buffers.buffer[i].v4l.fbuffer_phys = virt_to_phys(mem);
> + fh->buffers.buffer[i].v4l.fbuffer_bus = virt_to_bus(mem);
> + for (off = 0; off < fh->buffers.buffer_size;
> + off += PAGE_SIZE)
> + SetPageReserved(virt_to_page(mem + off));
This messing with SetPageReserved needs to go away before we bring
back the driver, even for staging.
Powered by blists - more mailing lists