245e7e0361
This is a really awkward interface, since we're calling it well before the driver knows what device it's going to drive. Drivers with both KMS and UMS support therefore don't know whether to say they need I/O port access or not, and have to assume they do. With this change we now call it only to query whether port access might be needed; we don't use that to determine whether to call a driver's probe function or not, instead we call them unconditionally. If the driver doesn't check whether port access was enabled, they might crash ungracefully. To accomodate this, we move xorgHWAccess to be explicitly intentionally exported (sigh xf86Priv.h) so that drivers can check that before they attempt port access. v2: Move initial xf86EnableIO() nearer the logic that determines whether to call it, suggested by Simon Farnsworth. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk> Signed-off-by: Adam Jackson <ajax@redhat.com> |
||
---|---|---|
.. | ||
common | ||
ddc | ||
dixmods | ||
doc | ||
dri | ||
dri2 | ||
exa | ||
fbdevhw | ||
i2c | ||
int10 | ||
loader | ||
man | ||
modes | ||
os-support | ||
parser | ||
ramdac | ||
shadowfb | ||
utils | ||
vbe | ||
vgahw | ||
x86emu | ||
.gitignore | ||
Makefile.am | ||
sdksyms.sh | ||
xorgconf.cpp |