docs: Replace Panel HAL placeholder with complete documentation (#374)#378
docs: Replace Panel HAL placeholder with complete documentation (#374)#378
Conversation
There was a problem hiding this comment.
Pull request overview
This PR replaces the placeholder Panel HAL documentation with a full specification-style document in docs/halif/panel/current/, aligning the Panel HAL with the documentation depth of other HAL modules.
Changes:
- Adds an end-to-end Panel HAL overview covering capabilities, requirements, interfaces, lifecycle, and event handling.
- Introduces interface and HFP integration sections plus a mermaid system-context diagram.
- Replaces the “Document Under Construction” placeholder with complete content.
|
Copilot review disposition:
|
| | # | Requirement | Comments | | ||
| | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- | | ||
| | **HAL.PANEL.1** | The service shall expose accurate static capabilities including panel resolution, physical dimensions, and supported PQ parameters. | Enables adaptive client configurations | |
There was a problem hiding this comment.
The requirements table uses a double leading pipe (|| ...), which creates an extra empty column and can render the table incorrectly in Markdown/MkDocs. Use a single leading | consistently (as done in other HAL docs).
| | AIDL File | Description | | ||
| | ----------------------------------- | ------------------------------------------------------------ | | ||
| | `Capabilities.aidl` | Defines panel capabilities and supported picture modes | | ||
| | `IFactoryPanel.aidl` | Factory interface for persistent configuration and tests | |
There was a problem hiding this comment.
The Interface Definitions table also starts each row with ||, which adds an empty first column and may break table rendering. Switch to a single leading | for the header and rows.
| * Dynamic control over panel enable/disable, picture modes, frame rate matching, and display fading. | ||
| * Event callbacks for real-time updates on video source, dynamic range, resolution, and refresh rate changes. | ||
|
|
||
| The corresponding [`hfp-panel.yaml`](https://github.com/rdkcentral/rdk-halif-aidl/tree/develop/panel/current/hfp-panel.yaml) file includes structured declarations for: |
There was a problem hiding this comment.
The hfp-panel.yaml link uses a GitHub /tree/ URL which typically 404s for files (it should be /blob/). Update the URL so it points to the file content rather than a non-existent tree path.
| The corresponding [`hfp-panel.yaml`](https://github.com/rdkcentral/rdk-halif-aidl/tree/develop/panel/current/hfp-panel.yaml) file includes structured declarations for: | |
| The corresponding [`hfp-panel.yaml`](https://github.com/rdkcentral/rdk-halif-aidl/blob/develop/panel/current/hfp-panel.yaml) file includes structured declarations for: |
|
|
||
| ## HAL Feature Profile Integration | ||
|
|
||
| Each platform must include a [hfp-panel.yaml](https://github.com/rdkcentral/rdk-halif-aidl/tree/develop/panel/current/hfp-panel.yaml) to define the platform-specific implementation of this HAL. It includes: |
There was a problem hiding this comment.
This later hfp-panel.yaml link also uses a GitHub /tree/ URL for a file. Use /blob/ (or a relative docs link) to avoid a broken link in the rendered documentation.
| Each platform must include a [hfp-panel.yaml](https://github.com/rdkcentral/rdk-halif-aidl/tree/develop/panel/current/hfp-panel.yaml) to define the platform-specific implementation of this HAL. It includes: | |
| Each platform must include a [hfp-panel.yaml](https://github.com/rdkcentral/rdk-halif-aidl/blob/develop/panel/current/hfp-panel.yaml) to define the platform-specific implementation of this HAL. It includes: |
|
|
||
| ## Operation and Data Flow | ||
|
|
||
| * Client query `Capabilities` for supported picture modes and PQ parameters. |
There was a problem hiding this comment.
Grammar: "Client query Capabilities" should be "Clients query Capabilities" (or "A client queries...") for correct subject/verb agreement.
| * Client query `Capabilities` for supported picture modes and PQ parameters. | |
| * Clients query `Capabilities` for supported picture modes and PQ parameters. |
| | Format | Use Case | Support Level | | ||
| | ------------- | ----------------------- | ------------- | | ||
| | Picture Modes | Video display presets | Mandatory | |
There was a problem hiding this comment.
The Data Format / Protocol Support table also uses || at the start of each row, introducing an empty first column and risking broken rendering. Use a single leading | consistently.
Extract complete Panel HAL documentation from feature/58 branch, replacing the under-construction placeholder with functional overview, implementation requirements, interface definitions, system context, and product customization sections.
Fix References and Related Pages content not rendering inside admonitions due to missing indentation. Correct panelType/pixelWidth/heightCm attribution from IPanelOutput.aidl to Capabilities.aidl.
2867c21 to
341d95f
Compare
Summary
feature/58-task-panel---interface-specificationbranchTest plan