grate-driver / xf86-video-opentegra

X.Org video driver for NVIDIA Tegra
Other
12 stars 9 forks source link

update to API 23 #4

Closed kusma closed 7 years ago

kusma commented 7 years ago

The patch was picked up from here.

digetx commented 7 years ago

The patch is fine, however there are some of other generic fixes missed here. I've cherry-picked most of relevant fixes in my fork, but there is probably something new to pick up. Will have to revisit it.

digetx commented 7 years ago

@kusma We'll need DRI+EXA for mesa bring up. The older EXA implementation suffers from memory corruption. I've reworked it based on 2d code from NVIDIA folks and it worked reasonable well. But there was a bug in Xorg's core EXA causing SW cursor to produce corruption when it is moving simultaneously with the underlying window (dragging it), I couldn't fix it. I asked for help on #xorg-devel and was told that EXA is obsolete and unmaintained, should switch to glamor. So the code in my fork has stuck in an intermediate state, it works but needs some cleanup.

kusma commented 7 years ago

If we require EXA for mesa-bringup, how can we use glamour to replace EXA in the first place?

digetx commented 7 years ago

We don't have to use glamor in the first place. We'll get the mesa+EXA to the state that it could handle glamor needs (they are fairly trivial, couple simple shaders IIRC) and then may switch to glamor.