Re: [PATCH 5/8] drm/exynos: introduce BYTE_PITCH capability

2017-08-11 Thread Tobias Jakobi
Inki Dae wrote: > > > 2017년 08월 09일 20:48에 Tobias Jakobi 이(가) 쓴 글: >> In some of drivers we compute something like 'pitch / cpp' at some >> point, silently assuming that the pitch (which is in bytes) is >> divisible by the buffer's cpp. This is not always true, in particular >> DRM core does not

Re: [PATCH 5/8] drm/exynos: introduce BYTE_PITCH capability

2017-08-11 Thread Inki Dae
2017년 08월 09일 20:48에 Tobias Jakobi 이(가) 쓴 글: > In some of drivers we compute something like 'pitch / cpp' at some > point, silently assuming that the pitch (which is in bytes) is > divisible by the buffer's cpp. This is not always true, in particular > DRM core does not check for pitch alignment

[PATCH 5/8] drm/exynos: introduce BYTE_PITCH capability

2017-08-09 Thread Tobias Jakobi
In some of drivers we compute something like 'pitch / cpp' at some point, silently assuming that the pitch (which is in bytes) is divisible by the buffer's cpp. This is not always true, in particular DRM core does not check for pitch alignment in the common case. Introduce a new cap which indicate