Re: [PATCH] drm/v3d: Enable V3D to use different PAGE_SIZE

2024-02-23 Thread Maíra Canal
Hi Iago, On 2/20/24 03:35, Iago Toral wrote: El lun, 19-02-2024 a las 10:00 -0300, Maíra Canal escribió: Hi Iago, On 2/19/24 09:56, Iago Toral wrote: Hi Maíra, El mié, 14-02-2024 a las 16:34 -0300, Maíra Canal escribió: Currently, the V3D driver uses PAGE_SHIFT over the assumption that PAGE

Re: [PATCH] drm/v3d: Enable V3D to use different PAGE_SIZE

2024-02-19 Thread Iago Toral
El lun, 19-02-2024 a las 10:00 -0300, Maíra Canal escribió: > Hi Iago, > > On 2/19/24 09:56, Iago Toral wrote: > > Hi Maíra, > > > > El mié, 14-02-2024 a las 16:34 -0300, Maíra Canal escribió: > > > Currently, the V3D driver uses PAGE_SHIFT over the assumption > > > that > > > PAGE_SHIFT = 12, as

Re: [PATCH] drm/v3d: Enable V3D to use different PAGE_SIZE

2024-02-19 Thread Maíra Canal
Hi Iago, On 2/19/24 09:56, Iago Toral wrote: Hi Maíra, El mié, 14-02-2024 a las 16:34 -0300, Maíra Canal escribió: Currently, the V3D driver uses PAGE_SHIFT over the assumption that PAGE_SHIFT = 12, as the PAGE_SIZE = 4KB. But, the RPi 5 is using PAGE_SIZE = 16KB, so the MMU PAGE_SHIFT is diff

Re: [PATCH] drm/v3d: Enable V3D to use different PAGE_SIZE

2024-02-19 Thread Iago Toral
Hi Maíra, El mié, 14-02-2024 a las 16:34 -0300, Maíra Canal escribió: > Currently, the V3D driver uses PAGE_SHIFT over the assumption that > PAGE_SHIFT = 12, as the PAGE_SIZE = 4KB. But, the RPi 5 is using > PAGE_SIZE = 16KB, so the MMU PAGE_SHIFT is different than the > system's > PAGE_SHIFT. >

[PATCH] drm/v3d: Enable V3D to use different PAGE_SIZE

2024-02-14 Thread Maíra Canal
Currently, the V3D driver uses PAGE_SHIFT over the assumption that PAGE_SHIFT = 12, as the PAGE_SIZE = 4KB. But, the RPi 5 is using PAGE_SIZE = 16KB, so the MMU PAGE_SHIFT is different than the system's PAGE_SHIFT. Enable V3D to be used in system's with any PAGE_SIZE by making sure that everything