libhwc2.1: Add helper function for rotation in drm interface

This patch adds helper function to convert hal transform
to drm rotation mode.

Change-Id: If754347018bf8467102a43fd69b129dcf4d6b2b6
Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com>
2 files changed