drm/dp-helper: Deprecate old i2c-over-dp_aux heleprs
Subsystems (2)
PATCH 1/1 drm/dp-helper: Deprecate old i2c-over-dp_aux heleprs
Only gma500 is still using this, once that's converted we can kill all this code. If that conversion doesn't happen soonish I think we should just move this helper code into the gma500 driver itself to avoid abuse from new drivers.
--- drivers/gpu/drm/drm_dp_helper.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/drm_dp_helper.c +4 -0
@@ -213,6 +213,10 @@ i2c_dp_aux_prepare_bus(struct i2c_adapter *adapter)* * RETURNS: * 0 on success, -ERRNO on failure. +* +* IMPORTANT: +* This interface is deprecated, please switch to the new dp aux helpers and +* drm_dp_aux_register_i2c_bus(). */ int i2c_dp_aux_add_bus (struct i2c_adapter *adapter)
Signature · 1 line
1.9.2
Quoted 4 lines · Daniel Vetter
Only gma500 is still using this, once that's converted we can kill all this code. If that conversion doesn't happen soonish I think we should just move this helper code into the gma500 driver itself to avoid abuse from new drivers.
I'll try to find some time to convert gma500 this weekend. If that fails, I'm ok with moving it into gma500.
Thanks for reminding me
Patrik
Quoted 26 lines
Cc Patrik Jakobsson <[email protected]>Cc Alan Cox <[email protected]>Cc Thierry Reding <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/drm_dp_helper.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/gpu/drm/drm_dp_helper.c +4
-1@@ -213,6 +213,10 @@ i2c_dp_aux_prepare_bus(struct i2c_adapter *adapter)* * RETURNS: * 0 on success, -ERRNO on failure. +* +* IMPORTANT: +* This interface is deprecated, please switch to the new dp aux helpers and +* drm_dp_aux_register_i2c_bus(). */ int i2c_dp_aux_add_bus (struct i2c_adapter *adapter) --1.9.2
Quoted 8 lines · Patrik Jakobsson
Quoted 4 lines · Daniel Vetter
Only gma500 is still using this, once that's converted we can kill all this code. If that conversion doesn't happen soonish I think we should just move this helper code into the gma500 driver itself to avoid abuse from new drivers.
I'll try to find some time to convert gma500 this weekend. If that fails, I'm ok with moving it into gma500.
I don't think there's a need to rush things. In my opinion it's fine if this stays around for another couple of releases, as long as it's removed eventually.
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Thierry Reding
Quoted 6 lines · Patrik Jakobsson
Quoted 4 lines · Daniel Vetter
Only gma500 is still using this, once that's converted we can kill all this code. If that conversion doesn't happen soonish I think we should just move this helper code into the gma500 driver itself to avoid abuse from new drivers.
Quoted 6 lines
Quoted 2 lines
I'll try to find some time to convert gma500 this weekend. If that fails, I'm ok with moving it into gma500.
I don't think there's a need to rush things. In my opinion it's fine if this stays around for another couple of releases, as long as it's removed eventually.
I agree with your opinion. Within few releases, it can be changed and removed. Actually, marking it as deprecated looks more urgent. Thanks.
Best regards,
Jingoo Han
Quoted 2 lines
Thierry
Quoted 5 lines · Daniel Vetter
Only gma500 is still using this, once that's converted we can kill all this code. If that conversion doesn't happen soonish I think we should just move this helper code into the gma500 driver itself to avoid abuse from new drivers.
Quoted 7 lines
Cc Patrik Jakobsson <[email protected]>Cc Alan Cox <[email protected]>Cc Thierry Reding <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/drm_dp_helper.c | 4 ++++ 1 file changed, 4 insertions(+)
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Typo in the subject bugs my OCD, otherwise agreed.
Jani.
Quoted 35 lines · Daniel Vetter
Only gma500 is still using this, once that's converted we can kill all this code. If that conversion doesn't happen soonish I think we should just move this helper code into the gma500 driver itself to avoid abuse from new drivers.
Cc Patrik Jakobsson <[email protected]>Cc Alan Cox <[email protected]>Cc Thierry Reding <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/drm_dp_helper.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/gpu/drm/drm_dp_helper.c +4
-0@@ -213,6 +213,10 @@ i2c_dp_aux_prepare_bus(struct i2c_adapter *adapter)* * RETURNS: * 0 on success, -ERRNO on failure. +* +* IMPORTANT: +* This interface is deprecated, please switch to the new dp aux helpers and +* drm_dp_aux_register_i2c_bus(). */ int i2c_dp_aux_add_bus (struct i2c_adapter *adapter)Signature · 6 lines
1.9.2 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center