On Tue, 22 Oct 2019, David Lechner <david@xxxxxxxxxxxxxx> wrote: > On 10/22/19 5:09 AM, Jani Nikula wrote: >> The DCS command has been named SET_PARTIAL_ROWS in the DCS spec since >> v1.02, for more than a decade. Rename the enumeration to match the spec. >> >> Cc: David Lechner <david@xxxxxxxxxxxxxx> >> Cc: Vandita Kulkarni <vandita.kulkarni@xxxxxxxxx> >> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> >> --- > > I guess all of my documents are old and say set_partial_area, but I will > take your word for it. > > It could be helpful to leave a comment in the code about the renaming > so that if people with old docs search for SET_PARTIAL_AREA, they can > still find it. Something like this? MIPI_DCS_SET_PARTIAL_ROWS = 0x30, /* aka MIPI_DCS_SET_PARTIAL_AREA */ It's also a possibility to define both: MIPI_DCS_SET_PARTIAL_AREA = 0x30, /* _ROWS since MIPI DCS 1.02 */ MIPI_DCS_SET_PARTIAL_ROWS = 0x30, I don't mind either way. BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx