Exploring the conditions required to form giant planets via gravitational instability in massive protoplanetary discs