Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDKVREFPLT-1811 : [RPI][DAB] RDK Service displayinfo plugin - width and height support. #5414

Merged

Conversation

smuthu065
Copy link

@smuthu065 smuthu065 commented Jun 14, 2024

RDKDEV Ticket ID for code Review:
https://jira.rdkcentral.com/jira/browse/RDKDEV-1066

Issue Ticket ID:
https://jira.rdkcentral.com/jira/browse/RDKVREFPLT-1811

Reason for change:

  1. Introduced the SOC_Abstraction.cpp, Kmc.c and Kmc.h files inside the newly added RPI directoy, SOC_Abstraction.cpp file contains the RPI platform specific implementations as same like the Amlogic. We have change the DEFAULT_DEVICE macro value as /dev/dri/card1 instead of /dev/dri/card0 for RPI. Because we have use the /dev/dri/card1 in RPI for Graphics rendering. This only change is differed from Amlogic platform implementations.

Test Procedure:
Validate with the JSON-RPC curl commands
curl -X POST http://127.0.0.1:9998/jsonrpc -d '{ jsonrpc: 2.0,id: 42, method: DisplayInfo.width}' Result: {jsonrpc:2.0,id:42,result:1280}

curl -X POST http://127.0.0.1:9998/jsonrpc -d '{ jsonrpc: 2.0,id: 42, method: DisplayInfo.height}'
Result: {jsonrpc:2.0,id:42,result:720}

Risks: None.
Signed-off-by: [email protected]

Reason for change:
1. Introduced the SOC_Abstraction.cpp, Kmc.c and Kmc.h files inside the newly added RPI directoy, SOC_Abstraction.cpp file contains the RPI platform specific implementations as same like the Amlogic.
We have change the DEFAULT_DEVICE macro value as /dev/dri/card1 instead of /dev/dri/card0 for RPI. Because we have use the /dev/dri/card1 in RPI for Graphics rendering.This only change is differed from Amlogic platform implementations.

Test Procedure:
Validate with the JSON-RPC curl commands
curl -X POST http://127.0.0.1:9998/jsonrpc -d '{ jsonrpc: 2.0,id: 42, method: DisplayInfo.width}'
Result: {jsonrpc:2.0,id:42,result:1280}

curl -X POST http://127.0.0.1:9998/jsonrpc -d '{ jsonrpc: 2.0,id: 42, method: DisplayInfo.height}'
Result: {jsonrpc:2.0,id:42,result:720}

Risks: None.
Signed-off-by: [email protected]
@CLAassistant
Copy link

CLAassistant commented Jun 14, 2024

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@smuthu065 smuthu065 changed the title RDKVREFPLT-1811 : [RPI][DAB] displayinfo plugin - width support. RDKVREFPLT-1811 : [RPI][DAB] RDK Service displayinfo plugin - width and height support. Jun 14, 2024
@smuthu065
Copy link
Author

Raised the RDKDEV Ticket for code review:
https://jira.rdkcentral.com/jira/browse/RDKDEV-1066

RDKDEV-1066 - RDKServices: [RPI][DAB] displayinfo plugin - width & height support code review.

@anand-ky anand-ky merged commit f47c94d into rdkcentral:sprint/24Q2 Jun 21, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants