Home
last modified time | relevance | path

Searched refs:disp (Results 1 – 25 of 105) sorted by relevance

12345

/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcomposer.cpp145 bool Hwcomposer::vsyncControl(int disp, int enabled) in vsyncControl() argument
148 ALOGTRACE("disp = %d, enabled = %d", disp, enabled); in vsyncControl()
150 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in vsyncControl()
151 ELOGTRACE("invalid disp %d", disp); in vsyncControl()
154 if (disp >= (int) mDisplayDevices.size()) { in vsyncControl()
157 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in vsyncControl()
166 bool Hwcomposer::blank(int disp, int blank) in blank() argument
169 ALOGTRACE("disp = %d, blank = %d", disp, blank); in blank()
171 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in blank()
172 ELOGTRACE("invalid disp %d", disp); in blank()
[all …]
DHwcModule.cpp103 int disp, in hwc_eventControl() argument
113 ret = hwc->vsyncControl(disp, enabled); in hwc_eventControl()
128 int disp, in hwc_getDisplayConfigs() argument
134 bool ret = hwc->getDisplayConfigs(disp, configs, numConfigs); in hwc_getDisplayConfigs()
136 WLOGTRACE("failed to get configs of disp %d", disp); in hwc_getDisplayConfigs()
144 int disp, in hwc_getDisplayAttributes() argument
151 bool ret = hwc->getDisplayAttributes(disp, config, attributes, values); in hwc_getDisplayAttributes()
153 WLOGTRACE("failed to get attributes of disp %d", disp); in hwc_getDisplayAttributes()
160 static int hwc_compositionComplete(hwc_composer_device_1_t *dev, int disp) in hwc_compositionComplete() argument
164 bool ret = hwc->compositionComplete(disp); in hwc_compositionComplete()
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/base/
DHwcomposer.cpp147 bool Hwcomposer::setPowerMode(int disp, int mode) in setPowerMode() argument
151 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in setPowerMode()
152 ETRACE("invalid disp %d", disp); in setPowerMode()
156 if(disp >= mDisplayDevices.size()){ in setPowerMode()
161 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in setPowerMode()
170 int Hwcomposer::getActiveConfig(int disp) in getActiveConfig() argument
174 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in getActiveConfig()
175 ETRACE("invalid disp %d", disp); in getActiveConfig()
179 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getActiveConfig()
188 bool Hwcomposer::setActiveConfig(int disp, int index) in setActiveConfig() argument
[all …]
DHwcModule.cpp97 int disp, in hwc_eventControl() argument
106 ret = hwc->vsyncControl(disp, enabled); in hwc_eventControl()
120 static int hwc_blank(hwc_composer_device_1_t *dev, int disp, int blank) in hwc_blank() argument
123 bool ret = hwc->blank(disp, blank); in hwc_blank()
125 ETRACE("failed to blank disp %d, blank %d", disp, blank); in hwc_blank()
133 int disp, in hwc_getDisplayConfigs() argument
138 bool ret = hwc->getDisplayConfigs(disp, configs, numConfigs); in hwc_getDisplayConfigs()
140 WTRACE("failed to get configs of disp %d", disp); in hwc_getDisplayConfigs()
148 int disp, in hwc_getDisplayAttributes() argument
154 bool ret = hwc->getDisplayAttributes(disp, config, attributes, values); in hwc_getDisplayAttributes()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DHwcomposer.h43 virtual bool vsyncControl(int disp, int enabled);
48 virtual bool blank(int disp, int blank);
49 virtual bool getDisplayConfigs(int disp,
52 virtual bool getDisplayAttributes(int disp,
56 virtual bool compositionComplete(int disp);
58 virtual bool setPowerMode(int disp, int mode);
59 virtual int getActiveConfig(int disp);
60 virtual bool setActiveConfig(int disp, int index);
61 virtual bool setCursorPositionAsync(int disp, int x, int y);
64 virtual void vsync(int disp, int64_t timestamp);
[all …]
/hardware/intel/img/hwcomposer/merrifield/include/
DHwcomposer.h47 virtual bool vsyncControl(int disp, int enabled);
52 virtual bool blank(int disp, int blank);
53 virtual bool getDisplayConfigs(int disp,
56 virtual bool getDisplayAttributes(int disp,
60 virtual bool compositionComplete(int disp);
62 virtual bool setPowerMode(int disp, int mode);
63 virtual int getActiveConfig(int disp);
64 virtual bool setActiveConfig(int disp, int index);
65 virtual bool setCursorPositionAsync(int disp, int x, int y);
68 virtual void vsync(int disp, int64_t timestamp);
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/platforms/merrifield_plus/
DPlatfHwcomposer.cpp54 IDisplayDevice* PlatfHwcomposer::createDisplayDevice(int disp, in createDisplayDevice() argument
59 switch (disp) { in createDisplayDevice()
62 return new PlatfExternalDevice((uint32_t)disp, *this, dpm); in createDisplayDevice()
64 return new PlatfPrimaryDevice((uint32_t)disp, *this, dpm); in createDisplayDevice()
69 return new DummyDevice((uint32_t)disp, *this); in createDisplayDevice()
71 return new PlatfExternalDevice((uint32_t)disp, *this, dpm); in createDisplayDevice()
75 return new DummyDevice((uint32_t)disp, *this); in createDisplayDevice()
78 ELOGTRACE("invalid display device %d", disp); in createDisplayDevice()
/hardware/libhardware/include/hardware/
Dhwcomposer.h481 void (*vsync)(const struct hwc_procs* procs, int disp, int64_t timestamp);
503 void (*hotplug)(const struct hwc_procs* procs, int disp, int connected);
624 int (*eventControl)(struct hwc_composer_device_1* dev, int disp,
642 int (*blank)(struct hwc_composer_device_1* dev, int disp, int blank);
667 int (*setPowerMode)(struct hwc_composer_device_1* dev, int disp,
725 int (*getDisplayConfigs)(struct hwc_composer_device_1* dev, int disp,
746 int (*getDisplayAttributes)(struct hwc_composer_device_1* dev, int disp,
760 int (*getActiveConfig)(struct hwc_composer_device_1* dev, int disp);
781 int (*setActiveConfig)(struct hwc_composer_device_1* dev, int disp,
808 … int (*setCursorPositionAsync)(struct hwc_composer_device_1 *dev, int disp, int x_pos, int y_pos);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DVsyncControl.cpp46 bool VsyncControl::control(int disp, bool enabled) in control() argument
48 ALOGTRACE("disp = %d, enabled = %d", disp, enabled); in control()
54 arg.vsync.pipe = disp; in control()
65 bool VsyncControl::wait(int disp, int64_t& timestamp) in wait() argument
67 ALOGTRACE("disp = %d", disp); in wait()
75 arg.vsync.pipe = disp; in wait()
DBlankControl.cpp34 bool BlankControl::blank(int disp, bool blank) in blank() argument
38 VLOGTRACE("blank is not supported yet, disp %d, blank %d", disp, blank); in blank()
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DVsyncControl.cpp46 bool VsyncControl::control(int disp, bool enabled) in control() argument
48 ATRACE("disp = %d, enabled = %d", disp, enabled); in control()
54 arg.vsync.pipe = disp; in control()
65 bool VsyncControl::wait(int disp, int64_t& timestamp) in wait() argument
67 ATRACE("disp = %d", disp); in wait()
75 arg.vsync.pipe = disp; in wait()
DBlankControl.cpp34 bool BlankControl::blank(int disp, bool blank) in blank() argument
38 VTRACE("blank is not supported yet, disp %d, blank %d", disp, blank); in blank()
DPrepareListener.cpp34 void PrepareListener::onProtectedLayerStart(int disp) in onProtectedLayerStart() argument
36 WTRACE("disp = %d, ignored for now", disp); in onProtectedLayerStart()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc.cpp752 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
757 bool hotPluggable = isHotPluggable(ctx, disp); in hwc_getDisplayConfigs()
758 bool isVirtualDisplay = (disp == HWC_DISPLAY_VIRTUAL); in hwc_getDisplayConfigs()
760 if ((hotPluggable || isVirtualDisplay) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs()
761 ALOGE("%s display (%d) is inactive", __FUNCTION__, disp); in hwc_getDisplayConfigs()
770 switch(disp) { in hwc_getDisplayConfigs()
797 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
803 bool hotPluggable = isHotPluggable(ctx, disp); in hwc_getDisplayAttributes()
804 bool isVirtualDisplay = (disp == HWC_DISPLAY_VIRTUAL); in hwc_getDisplayAttributes()
806 if ((hotPluggable || isVirtualDisplay) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/
DPnwPrimaryPlane.cpp25 PnwPrimaryPlane::PnwPrimaryPlane(int index, int disp) in PnwPrimaryPlane() argument
26 : PnwSpritePlane(index, disp) in PnwPrimaryPlane()
59 bool PnwPrimaryPlane::assignToDevice(int disp) in assignToDevice() argument
DPnwOverlayPlane.cpp26 PnwOverlayPlane::PnwOverlayPlane(int index, int disp) in PnwOverlayPlane() argument
27 : OverlayPlaneBase(index, disp) in PnwOverlayPlane()
DPnwSpritePlane.cpp25 PnwSpritePlane::PnwSpritePlane(int index, int disp) in PnwSpritePlane() argument
26 : SpritePlaneBase(index, disp) in PnwSpritePlane()
DPnwPrimaryPlane.h26 PnwPrimaryPlane(int index, int disp);
30 bool assignToDevice(int disp);
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield_plus/
DPlatFactory.cpp60 IDisplayDevice* PlatFactory::createDisplayDevice(int disp) in createDisplayDevice() argument
72 switch (disp) { in createDisplayDevice()
82 ETRACE("invalid display device %d", disp); in createDisplayDevice()
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield/
DPlatFactory.cpp61 IDisplayDevice* PlatFactory::createDisplayDevice(int disp) in createDisplayDevice() argument
74 switch (disp) { in createDisplayDevice()
84 ETRACE("invalid display device %d", disp); in createDisplayDevice()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc.cpp724 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
728 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayConfigs()
731 switch(disp) { in hwc_getDisplayConfigs()
742 if(ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs()
754 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
758 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayAttributes()
760 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
780 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
783 if (ctx->dpyAttr[disp].customFBSize) in hwc_getDisplayAttributes()
784 values[i] = ctx->dpyAttr[disp].xres_new; in hwc_getDisplayAttributes()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc.cpp489 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
495 switch(disp) { in hwc_getDisplayConfigs()
517 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
522 if(disp == HWC_DISPLAY_EXTERNAL && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
542 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
545 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
546 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
547 ctx->dpyAttr[disp].xres); in hwc_getDisplayAttributes()
550 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
551 ALOGD("%s disp = %d, height = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc.cpp733 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
737 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayConfigs()
740 switch(disp) { in hwc_getDisplayConfigs()
751 if(ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs()
763 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
767 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayAttributes()
769 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
789 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
792 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
793 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
[all …]
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc.cpp585 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
591 switch(disp) { in hwc_getDisplayConfigs()
613 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
618 if(disp == HWC_DISPLAY_EXTERNAL && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
638 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
641 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
642 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
643 ctx->dpyAttr[disp].xres); in hwc_getDisplayAttributes()
646 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
647 ALOGD("%s disp = %d, height = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/planes/
DDisplayPlane.cpp25 DisplayPlane::DisplayPlane(int index, int type, int disp) in DisplayPlane() argument
29 mDevice(disp), in DisplayPlane()
341 bool DisplayPlane::assignToDevice(int disp) in assignToDevice() argument
344 ALOGTRACE("disp = %d", disp); in assignToDevice()
346 mDevice = disp; in assignToDevice()
355 mForceScaling = DisplayQuery::forceFbScaling(disp); in assignToDevice()
356 drm->getDisplayResolution(disp, mDisplayWidth, mDisplayHeight); in assignToDevice()

12345