Skip to content

Commit

Permalink
sdm: Re-define MultiRect MDP flags
Browse files Browse the repository at this point in the history
Re-define MultiRect MDP flags in SDM to avoid compilation dependency
with drivers, which do not have MultiRect feature support.

Change-Id: I3302dff5ddb679900ca353581859a39cfd6fcbb9
  • Loading branch information
darkpewds6969 authored and naseer committed Apr 28, 2016
1 parent 34bad08 commit c14b208
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sdm/libs/core/fb/hw_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
#define IOCTL_LOGE(ioctl, type) DLOGE("ioctl %s, device = %d errno = %d, desc = %s", #ioctl, \
type, errno, strerror(errno))

#ifndef MDP_LAYER_MULTIRECT_ENABLE
#define MDP_LAYER_MULTIRECT_ENABLE 0
#endif

#ifndef MDP_LAYER_MULTIRECT_PARALLEL_MODE
#define MDP_LAYER_MULTIRECT_PARALLEL_MODE 0
#endif

namespace sdm {
class HWInfoInterface;

Expand Down

0 comments on commit c14b208

Please sign in to comment.