Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [1.0.9](https://github.com/rdkcentral/devicesettings/compare/1.0.8...1.0.9)

- RDKEMW-4012: Remove-getEdid2AllmSupport-From-HAL [`#52`](https://github.com/rdkcentral/devicesettings/pull/52)
- RDKEMW-2279: get the required display and use that in dsRegisterDisplayEventCallback [`#45`](https://github.com/rdkcentral/devicesettings/pull/45)
- RDKEMW-4012: Remove getEdid2AllmSupport From HAL [`6ac5129`](https://github.com/rdkcentral/devicesettings/commit/6ac5129dada21716aea3040a45450f8049fe64af)
- Update hdmiIn.cpp [`c9f8a49`](https://github.com/rdkcentral/devicesettings/commit/c9f8a499d5a494b293760786c5035f27ac6bcac8)
- RDKEVD-445:Remove-getEdid2AllmSupport-From-HAL [`8022258`](https://github.com/rdkcentral/devicesettings/commit/8022258c7d99166af299c3f70b8fe33a870d4fe1)

#### [1.0.8](https://github.com/rdkcentral/devicesettings/compare/1.0.7...1.0.8)

> 2 April 2025

- RDKEMW-921 : HDMI Arc persistance [`#39`](https://github.com/rdkcentral/devicesettings/pull/39)
- 1.0.8 release change log updates [`bc83fba`](https://github.com/rdkcentral/devicesettings/commit/bc83fba5e577c09edd1301438a676d1e61c56a82)
- Merge tag '1.0.7' into develop [`8ec3100`](https://github.com/rdkcentral/devicesettings/commit/8ec3100cbb809a273b55c2e8ee147718f37c40e4)

#### [1.0.7](https://github.com/rdkcentral/devicesettings/compare/1.0.6...1.0.7)
Expand Down
1 change: 1 addition & 0 deletions ds/hdmiIn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
#include "dsHdmiIn.h"
#include "dsUtl.h"
#include "edid-parser.hpp"
#include "dsInternal.h"


namespace device
Expand Down
1 change: 1 addition & 0 deletions rpc/cli/dsHdmiIn.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#include "libIARM.h"
#include "libIBus.h"
#include "safec_lib.h"
#include "dsInternal.h"


dsError_t dsHdmiInInit (void)
Expand Down
23 changes: 23 additions & 0 deletions rpc/include/dsInternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,29 @@ dsError_t dsVideoPortSetPreferredColorDepth(intptr_t handle,dsDisplayColorDepth_
*/
dsError_t dsVideoPortGetPreferredColorDepth(intptr_t handle, dsDisplayColorDepth_t *colorDepth, bool persist );

/**
* @brief Gets the EDID ALLM support
*
* For sink devices, this function gets the EDID ALLM support.
* For source devices, this function returns dsERR_OPERATION_NOT_SUPPORTED always.
*
* @param[in] iHdmiPort - HDMI input port. Please refer ::dsHdmiInPort_t
* @param[in] allmSupport - Allm support. False for disabled, True for enabled
*
* @return dsError_t - Status
* @retval dsERR_NONE - Success
* @retval dsERR_NOT_INITIALIZED - Module is not initialised
* @retval dsERR_INVALID_PARAM - Parameter passed to this function is invalid
* @retval dsERR_OPERATION_NOT_SUPPORTED - The attempted operation is not supported; e.g: source devices
* @retval dsERR_OPERATION_FAILED - The attempted operation has failed
*
* @pre dsHdmiInInit() must be called before calling this API
*
* @warning This API is Not thread safe
*
*/
dsError_t dsGetEdid2AllmSupport (dsHdmiInPort_t iHdmiPort, bool *allmSupport);

/**
* @brief Gets the encoding type of an audio port
*
Expand Down
15 changes: 12 additions & 3 deletions rpc/srv/dsDisplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,19 @@ IARM_Result_t _dsDisplayInit(void *arg)
IARM_BUS_Lock(lock);

if (!m_isInitialized) {
/* Register appropriate dsRegisterDisplayEventCallback here*/
intptr_t handle = NULL;
dsError_t eReturn = dsGetDisplay(dsVIDEOPORT_TYPE_HDMI, 0, &handle);
if (dsERR_NONE != eReturn) {
INT_INFO("dsGetDisplay for dsVIDEOPORT_TYPE_HDMI failed; trying dsVIDEOPORT_TYPE_INTERNAL.\r\n");
eReturn = dsGetDisplay(dsVIDEOPORT_TYPE_INTERNAL, 0, &handle);
if (dsERR_NONE != eReturn) {
INT_ERROR("dsGetDisplay for dsVIDEOPORT_TYPE_INTERNAL also failed.\r\n");
return IARM_RESULT_INVALID_PARAM;
}
}
dsRegisterDisplayEventCallback(handle, _dsDisplayEventCallback);

/* Register appropriate dsRegisterDisplayEventCallback here*/
dsRegisterDisplayEventCallback(NULL,_dsDisplayEventCallback);

IARM_Bus_RegisterCall(IARM_BUS_DSMGR_API_dsGetDisplay,_dsGetDisplay);
IARM_Bus_RegisterCall(IARM_BUS_DSMGR_API_dsGetDisplayAspectRatio,_dsGetDisplayAspectRatio);
IARM_Bus_RegisterCall(IARM_BUS_DSMGR_API_dsGetEDID,_dsGetEDID);
Expand Down