Photoshop already recognizes your added RAM, because it gets the RAM information from the OS every time it launches. See the details in the performance panel of preferences.
But you're talking about a warning that tells you you don't have enough VRAM on your video card - and that has little or nothing to do with the DRAM installed in your machine.
For VRAM, you'd have to upgrade your video card/GPU.