Optically Tunable Photoluminescence and Up-Conversion Lasing on a Chip