[backport 25.1] xfree86: ddc: new entry point for EDID parsing#1935
[backport 25.1] xfree86: ddc: new entry point for EDID parsing#1935metux wants to merge 1 commit intorelease/25.1from
Conversation
The old ones didn't know the block size, so couldn't deduce the block type version. With upcoming new features, eg. HDR, we need to know the block type version in order to know what we can extract from it. This new function should now be used by all drivers, the old ones shall be phased out. That commit should be backported to 25.0 and 25.1 releases, so drivers can remain compatible with all existing release lines. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
Aren't backports meant for bugfixes? This feels like a new feature/redesign instead. |
Yes, but in this special case I'd like to have this function available in older Xservers, so drivers can start using it w/o having to depend on newer Xserver. |
If the other members of the team agree, I won't oppose. I'm also concerned about the |
I see your point. The goal of this is preventing the need for extra compile-time checks in drivers, in order to keep them compatible with both newer and older Xservers - I really hated those 'compat-api.h' headers.
Where is Bool/bool involved here ? (in the public interface). |
Didn't see it's only used in a static function. |
|
It would be nice to add a deprecation warning (comment) into the header file. |
No problem :) Any objections to this PR left ? |
Yes, but just on master, not this 25.1 release branch. |
The old ones didn't know the block size, so couldn't deduce the block
type version. With upcoming new features, eg. HDR, we need to know the
block type version in order to know what we can extract from it.
This new function should now be used by all drivers, the old ones shall
be phased out.
That commit should be backported to 25.0 and 25.1 releases, so drivers
can remain compatible with all existing release lines.
Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net