sdm: Make object id an explicit param of Perform API
Make object id an explicit param of Perform API since it is not
variable but mandatory.
Change-Id: I0070111b603abed9367311fd33e2e03a5dc04a49
CRs-fixed: 2192940
diff --git a/libdrmutils/drm_interface.h b/libdrmutils/drm_interface.h
index 979736f..4822089 100644
--- a/libdrmutils/drm_interface.h
+++ b/libdrmutils/drm_interface.h
@@ -607,11 +607,12 @@
/* Perform request operation.
*
* [input]: opcode: operation code from DRMOps list.
+ * obj_id: Relevant crtc, connector, plane id
* var_arg: arguments for DRMOps's can differ in number and
* data type. Refer above DRMOps to details.
* [return]: Error code if the API fails, 0 on success.
*/
- virtual int Perform(DRMOps opcode, ...) = 0;
+ virtual int Perform(DRMOps opcode, uint32_t obj_id, ...) = 0;
/*
* Commit the params set via Perform(). Also resets the properties after commit. Needs to be