Re: [PATCH 12/23] drm/sun4i: sun8i: properly support UI channels

2017-10-17 Thread icenowy
在 2017-10-17 17:06,Maxime Ripard 写道: The current code has the wrong macro to get the registers offsets of the UI-registers, with an off-by-0x1000 error. It works so far by accident, since the UI channel used everywhere else is the number of VI planes, which has always been 1 so far, and the o

[PATCH 12/23] drm/sun4i: sun8i: properly support UI channels

2017-10-17 Thread Maxime Ripard
The current code has the wrong macro to get the registers offsets of the UI-registers, with an off-by-0x1000 error. It works so far by accident, since the UI channel used everywhere else is the number of VI planes, which has always been 1 so far, and the offset between two UI channels is 0x1000.