/*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
/*
* efb_prconf - Display current efb hardware configuration
*/
#include <stdio.h> /* printf(), puts() */
#include <stdlib.h> /* free() */
#include "xf86Parser.h" /* Public function, etc. declarations */
#include "sun_edid.h" /* EDID data parsing */
#include "fbc.h" /* Common fbconf_xorg(1M) definitions */
#include "fbc_dev.h" /* Identify the graphics device (-dev opt) */
#include "fbc_error.h" /* Error reporting */
#include "fbc_prconf.h" /* Display current hardware configuration */
#include "fbc_properties.h" /* fbconf_xorg(1M) program properties */
#include "fbc_query_device.h" /* Query a frame buffer device */
#include "efb_prconf.h" /* Display current efb hardware config */
/*
* efb_prconf_stream()
*
* Display the monitor and resolution information for the indicated
* video stream (stream_bit), unless we determine that this stream
* isn't in the set of streams (stream_set) the user wants displayed.
*/
static
void
int device_fd, /* Device file descriptor number */
int stream_index, /* Video stream index (zero-based) */
{
/*
* Get and display the EDID data for this stream's display device
*/
/*
* Display the current video mode setting
*/
} /* efb_prconf_stream() */
/*
* efb_prconf()
*
* Display the current hardware configuration (-prconf).
*/
void
{
/*
* Display the frame buffer model name and part number
*/
/*
* Get the Modes declared by the active Monitor section of the config
*
* This is an "unintrusive" linked list. Each list element
* points to, rather than contains, a ModeLine /
* Mode-EndMode entry. The mode entries are independent of
* the list.
*/
/*
* Display the monitor info for each of the indicated streams (-dev)
*/
printf("\nMonitor/Resolution Information:\n");
stream_index += 1) {
}
} /* efb_prconf() */
/* End of efb_prconf.c */