wrong size in struct drm_mode_get_connector
Submitted by Abraham Macias
Assigned to Chris Wilson @ickle
Description
Hi everybody,
I'm trying to run a 32bits Linux distribution with a 64 bits Linux kernel and I have problems with Intel driver for xorg.
By tracing the problem and then searching in Google I found this conversation:
http://comments.gmane.org/gmane.linux.kernel.stable/67503
It seems that due to differences in the size of struct drm_mode_get_connector is neccesary to add a "__u32 pad" at the end of the structure. And this was added to the kernel.
But if you look in libdrm-2.4.58/include/drm/drm_mode.h the "drm_mode_get_connector" struct haven't got any padding.
Is this a bug?
Is possible to run a 32 bits linux distribution with a 64 bits Linux kernel? or is it an impossible dream?
Best regards!