Thanks for your comments
Stéphane Please find mine inline.
In general, I got the overall recommendations that if this implementation comes from generic DRM property, it would be easy to club with general interfaces, and atomic modeset
calls. I will work on this, and will come back with modified patches.
Regards Shashank
From: Stéphane Marchesin [mailto:stephane.marchesin@xxxxxxxxx]
>+1. We'e looking into hooking up color correction controls, and if the interface isn't standard our user space won't be portable across drivers.
There are multiple reasons for using drm properties: >- the KMS interface already provides a way to set the gamma ramp, which this code seems to replicate. >The
current KMS interface just initializes the gamma soft LUT palette registers, in 8 bit mode corresponding to unit gamma. It’s impossible to apply accurate values corresponding to gamma=2.2 or 1.5 from KMS >Because for
that we need to program palette registers in 10.6 bit mode of hardware. >Then the existing interface should be extended. Otherwise you have two ways to do the same thing... Agree.
Correct me if I'm wrong, but I don't see a way for user space to query the presence/absence of a given property. KMS allows that. The color manager read function dumps the no of properties, and current status of the property. But I agree its better interface to have it in form of property, as far as the central control is concerned.
>This protocol however is not extensible. With the KMS interface I can already do the following from user space: >- query the existence of a given property >- set each property in a portable fashion (for example the same gamma ramp code works on all DRM drivers) >- easily match properties to a given crtc Actually each of this is possible from color manager read/write, read dumps information per pipe basis.
|
_______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx